Fedir Zadniprovskyi commited on
Commit
f5d1866
·
1 Parent(s): bf48682

fix: pytest-asyncio fixture scope warnings

Browse files
Files changed (1) hide show
  1. pyproject.toml +3 -0
pyproject.toml CHANGED
@@ -98,3 +98,6 @@ pythonPlatform = "Linux"
98
  # https://github.com/DetachHead/basedpyright?tab=readme-ov-file#pre-commit-hook
99
  venvPath = "."
100
  venv = ".venv"
 
 
 
 
98
  # https://github.com/DetachHead/basedpyright?tab=readme-ov-file#pre-commit-hook
99
  venvPath = "."
100
  venv = ".venv"
101
+
102
+ [tool.pytest.ini_options]
103
+ asyncio_default_fixture_loop_scope = "function" # this fixes pytest warning