File: 0001-Define-asyncio_default_fixture_loop_scope-for-pytest.patch

package info (click to toggle)
python-mp-api 0.45.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,004 kB
  • sloc: python: 6,712; makefile: 14
file content (20 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Roland Mas <lolando@debian.org>
Date: Wed, 6 Nov 2024 16:41:36 +0100
Subject: Define asyncio_default_fixture_loop_scope for pytest-asyncio >= 0.24

---
 pyproject.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 03d44f3..1db666e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,6 +62,7 @@ xfail_strict = true
 filterwarnings = ["default"]
 log_cli_level = "info"
 testpaths = ["tests"]
+asyncio_default_fixture_loop_scope = "function"
 
 [tool.ruff]
 target-version = "py38"