Commit 2d6e4d3
Maxim Tulskiy
tests: add pytest.ini to set asyncio_default_fixture_loop_scope
Recent versions of pytest-asyncio emit a deprecation warning when the
'asyncio_default_fixture_loop_scope' option is unset. This can break tests
using pytester by preventing pytest from generating a terminal summary.
This commit adds a pytest.ini file with
'asyncio_default_fixture_loop_scope = function' to prevent the warning,
ensuring that tests run reliably and the pytest output is stable.
Signed-off-by: Maxim Tulskiy <tulskijms@altlinux.org>1 parent af36e10 commit 2d6e4d3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments