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"
|