Explorar el Código

tests: use function asyncio fixture loop scope

Previous change was not actually tested due to no py change to trigger it
Jason Rumney hace 11 meses
padre
commit
463e252f3f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      pyproject.toml

+ 2 - 1
pyproject.toml

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