Преглед изворни кода

tests: use function asyncio fixture loop scope

Previous change was not actually tested due to no py change to trigger it
Jason Rumney пре 2 месеци
родитељ
комит
463e252f3f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      pyproject.toml

+ 2 - 1
pyproject.toml

@@ -2,4 +2,5 @@
 target-version = ["py313"]
 
 [tool.pytest.ini_options]
-asyncio_default_fixture_loop_scope = "session"
+asyncio_mode = "auto"
+asyncio_default_fixture_loop_scope = "function"