Skip to content

Commit

Permalink
chore: add pytest config option asyncio_default_fixture_loop_scope
Browse files Browse the repository at this point in the history
  • Loading branch information
tumidi committed Oct 22, 2024
1 parent 8f48591 commit 2482d73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ extend = "ruff_defaults.toml"
[tool.pytest.ini_options]
# https://github.com/pytest-dev/pytest-asyncio#auto-mode
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"

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

0 comments on commit 2482d73

Please sign in to comment.