Skip to content

Commit

Permalink
🔧 set default fixture scope for pytest-asyncio (#3318)
Browse files Browse the repository at this point in the history
Resolves `PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset`

Signed-off-by: ff137 <[email protected]>
Co-authored-by: jamshale <[email protected]>
  • Loading branch information
ff137 and jamshale authored Oct 29, 2024
1 parent 31417cb commit f499871
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 @@ -137,6 +137,7 @@ markers = [
]
junit_family = "xunit1"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "module"

[tool.coverage.run]

Expand Down

0 comments on commit f499871

Please sign in to comment.