瀏覽代碼

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"