Skip to content

Commit 57d0002

Browse files
committed
chore: add pytest config option asyncio_default_fixture_loop_scope
Ref: pytest-dev/pytest-asyncio#924
1 parent 5ecd38a commit 57d0002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ allow-dunder-method-names = ["__get_pydantic_core_schema__"]
7474
addopts = "--doctest-modules"
7575
# https://github.com/pytest-dev/pytest-asyncio#auto-mode
7676
asyncio_mode = "auto"
77+
asyncio_default_fixture_loop_scope="function"
7778
markers = ["render_params", "source_pkg", "ui_file"]
7879

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

0 commit comments

Comments
 (0)