Skip to content

Commit 2482d73

Browse files
committed
chore: add pytest config option asyncio_default_fixture_loop_scope
Ref: pytest-dev/pytest-asyncio#924
1 parent 8f48591 commit 2482d73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ extend = "ruff_defaults.toml"
5151
[tool.pytest.ini_options]
5252
# https://github.com/pytest-dev/pytest-asyncio#auto-mode
5353
asyncio_mode = "auto"
54+
asyncio_default_fixture_loop_scope="function"
5455

5556
# This section is read automatically by Coverage.py when its working directory is .
5657
# https://coverage.readthedocs.io/en/6.5.0/config.html#configuration-reference

0 commit comments

Comments
 (0)