Skip to content

Commit 32dce55

Browse files
committed
Add asyncio_mode setting for pytest
1 parent 6c6b791 commit 32dce55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@ ignore =
1515
addopts = --benchmark-disable
1616
# Deactivate default name pattern for test classes (we use pytest_describe).
1717
python_classes = PyTest*
18+
# Handle all async fixtures and tests automatically by asyncio
19+
asyncio_mode = auto
1820
# Set a timeout in seconds for aborting tests that run too long.
1921
timeout = 100
22+
# Ignore config options not (yet) available in older Python versions.
23+
filterwarnings = ignore::pytest.PytestConfigWarning

0 commit comments

Comments
 (0)