Skip to content

Commit 01c1f34

Browse files
committed
fix: set the default fixture loop to fix the warning
1 parent 69a0b30 commit 01c1f34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ include = ["aioauth", "aioauth.*"]
7979
[tool.pytest.ini_options]
8080
addopts = "-s --strict-markers -vv --cache-clear --maxfail=1"
8181
pythonpath = ["."]
82+
asyncio_mode = "auto"
83+
asyncio_default_fixture_loop_scope = "function"
8284

8385
[tool.mypy]
8486
python_version = "3.9"

0 commit comments

Comments
 (0)