Sfoglia il codice sorgente

tests: use function asyncio fixture loop scope

Previous change was not actually tested due to no py change to trigger it
Jason Rumney 2 mesi fa
parent
commit
463e252f3f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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"