Browse Source

tests: use function asyncio fixture loop scope

Previous change was not actually tested due to no py change to trigger it
Jason Rumney 2 tháng trước cách đây
mục cha
commit
463e252f3f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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"