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 14, 2024
1 parent 8f48591 commit 63ee79f
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 63ee79f

Please sign in to comment.