Commit 26b8c8c
Maxim Tulskiy
tests: add pytest.ini to set asyncio_default_fixture_loop_scope
Recent versions of pytest-asyncio and pytest introduced
stricter handling of asynchronous fixtures. If the
'asyncio_default_fixture_loop_scope' option is unset, async fixtures may
emit DeprecationWarnings during pytest configuration. This can break tests
using pytester by preventing pytest from generating a terminal summary.
This prevents the warning and ensures consistent and stable test execution
for async tests.
Signed-off-by: Maxim Tulskiy <tulskijms@altlinux.org>1 parent af36e10 commit 26b8c8c
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments