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

package info (click to toggle)
ipyparallel 8.8.0-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,408 kB
  • sloc: python: 21,991; javascript: 267; makefile: 29; sh: 20
file content (20 lines) | stat: -rw-r--r-- 555 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, 30 Oct 2024 15:14:43 +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 ffaab4b..a4861bf 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -120,6 +120,7 @@ profile = "black"
 [tool.pytest.ini_options]
 addopts = "-raXs --durations 10 --color=yes"
 asyncio_mode = "auto"
+asyncio_default_fixture_loop_scope="function"
 testpaths = [
     "ipyparallel/tests"
 ]