Skip to content

Commit 3fe8f81

Browse files
committed
py(pytest): Filter pytest-asyncio deprecation warning
why: Warning appears despite config being set (timing issue).
1 parent 7fe3aa6 commit 3fe8f81

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
@@ -235,6 +235,7 @@ testpaths = [
235235
]
236236
filterwarnings = [
237237
"ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::",
238+
"ignore:The configuration option \"asyncio_default_fixture_loop_scope\" is unset.:DeprecationWarning:pytest_asyncio.plugin",
238239
]
239240
asyncio_mode = "strict"
240241
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)