Skip to content

Commit 12b6bc9

Browse files
Ignore config warning for pytest-asyncio when it is not installed
1 parent c5358a9 commit 12b6bc9

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
@@ -49,6 +49,7 @@ log_date_format = "%Y-%m-%d %H:%M:%S"
4949
filterwarnings = [
5050
"ignore:\"@coroutine\" decorator is deprecated since Python 3.8, use \"async def\" instead:DeprecationWarning",
5151
"ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning",
52+
"ignore:Unknown config option. asyncio_mode:pytest.PytestConfigWarning", # ignore warning when asyncio_mode is set but pytest-asyncio is not installed
5253
]
5354
asyncio_mode = "auto"
5455

0 commit comments

Comments
 (0)