Skip to content

Commit d4a4546

Browse files
committed
Set async test parameters that generate a warning when unset in pytest
1 parent c62d687 commit d4a4546

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ exclude = [".github/**", "ci/**", ".asf.yaml"]
6363
locked = true
6464
features = ["substrait"]
6565

66+
[tool.pytest.ini_options]
67+
asyncio_mode = "auto"
68+
asyncio_default_fixture_loop_scope = "function"
69+
6670
# Enable docstring linting using the google style guide
6771
[tool.ruff.lint]
6872
select = ["ALL" ]

0 commit comments

Comments
 (0)