Skip to content

Commit

Permalink
Declare the desired asyncio_default_fixture_loop_scope
Browse files Browse the repository at this point in the history
pytest-asyncio is moving towards defaulting to the function scope.
Select this now.
  • Loading branch information
stefanor authored and sethmlarson committed Oct 26, 2024
1 parent e7b4da1 commit 3524a6d
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 @@ -34,6 +34,7 @@ Documentation = "https://truststore.readthedocs.io"

[tool.pytest.ini_options]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
"error",
# See: aio-libs/aiohttp#7545
Expand Down

0 comments on commit 3524a6d

Please sign in to comment.