Skip to content

Commit cfb3315

Browse files
committed
tests: Fix failing test by preventing warning conversion to error.
1 parent f99b678 commit cfb3315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/markers/test_function_scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def test_warns():
8787
"""
8888
)
8989
)
90-
result = pytester.runpytest("--asyncio-mode=strict", "--assert=plain")
90+
result = pytester.runpytest("--asyncio-mode=strict", "-W", "default")
9191
result.assert_outcomes(passed=1, warnings=1)
9292
result.stdout.fnmatch_lines("*DeprecationWarning*")
9393

0 commit comments

Comments
 (0)