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

package info (click to toggle)
jeepney 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 592 kB
  • sloc: python: 3,036; makefile: 206; xml: 115
file content (19 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Roland Mas <lolando@debian.org>
Date: Wed, 30 Oct 2024 15:18:44 +0100
Subject: Define asyncio_default_fixture_loop_scope for pytest-asyncio >= 0.24

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

diff --git a/pyproject.toml b/pyproject.toml
index a1a1291..73329a7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -37,3 +37,6 @@ Source = "https://gitlab.com/takluyver/jeepney"
 [tool.flit.sdist]
 include = ["docs", "examples", "pytest.ini"]
 exclude = ["docs/_build"]
+
+[tool.pytest.ini_options]
+asyncio_default_fixture_loop_scope = "function"