Skip to content

Commit 29b9c09

Browse files
committed
Fix pytest-asyncio warning
1 parent 0c95fff commit 29b9c09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ max-public-methods = 30
102102
[tool.pytest.ini_options]
103103
testpaths = ["tests/unit/"]
104104
asyncio_mode = "auto"
105+
asyncio_default_fixture_loop_scope = "function"
105106
markers = [
106107
"pydantic: Tests with Pydantic as a dependency",
107108
]

0 commit comments

Comments
 (0)