Skip to content

Commit b68a481

Browse files
committed
Set default pytest-asyncio fixture loop scope
1 parent b9ccd07 commit b68a481

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ ignore_errors = true
4747

4848
[tool.pytest.ini_options]
4949
asyncio_mode = "auto"
50+
asyncio_default_fixture_loop_scope = "function"
5051

5152
[tool.flake8]
5253
exclude = [".venv", ".git", ".tox", "docs", "venv", "bin", "lib", "deps", "build"]

0 commit comments

Comments
 (0)