Skip to content

Commit

Permalink
Use inplace pytester
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 21, 2022
1 parent e465284 commit 7c5839e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_a():
"""
),
)
result = testdir.runpytest_subprocess()
result = testdir.runpytest()
result.assert_outcomes(passed=1)
result.stdout.fnmatch_lines(
["*is marked with '@pytest.mark.asyncio' but it is not an async function.*"]
Expand Down

0 comments on commit 7c5839e

Please sign in to comment.