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 4e60ef7 commit f88d4ab
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 @@ -74,6 +74,7 @@ allow-dunder-method-names = ["__get_pydantic_core_schema__"]
addopts = "--doctest-modules"
# https://github.com/pytest-dev/pytest-asyncio#auto-mode
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"
markers = ["render_params", "source_pkg", "ui_file"]

# This section is read automatically by Coverage.py when its working directory is .
Expand Down

0 comments on commit f88d4ab

Please sign in to comment.