Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 6eeaebb

Browse files
author
Nick Sullivan
committed
⚙️ Set pytest asyncio fixture scope to function level
Prevents test isolation issues where async fixtures from one test could interfere with another. Function scope ensures each test gets fresh async event loop fixtures for reliable test execution.
1 parent fc545d9 commit 6eeaebb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[tool.pytest.ini_options]
22
python_files = "tests.py test_*.py"
3+
asyncio_default_fixture_loop_scope = "function"
34
# Disable warnings from third-party libraries
45
filterwarnings = "ignore::DeprecationWarning"
56

0 commit comments

Comments
 (0)