File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,4 @@ async def test_whatever(async_fixture):
143143 result = testdir .runpytest ()
144144
145145 result .assert_outcomes (failed = 1 )
146- result .stdout .fnmatch_lines (
147- ["*async_fixture*cancelled the test*" ]
148- )
146+ result .stdout .fnmatch_lines (["*async_fixture*cancelled the test*" ])
Original file line number Diff line number Diff line change @@ -328,5 +328,5 @@ async def test_try(fixture):
328328 result = testdir .runpytest ()
329329 result .assert_outcomes (passed = 0 , failed = 1 )
330330 result .stdout .fnmatch_lines_random ([
331- "*OOPS*" ,
331+ "*OOPS*" ,
332332 ])
Original file line number Diff line number Diff line change @@ -355,8 +355,7 @@ async def _bootstrap_fixtures_and_run_test(**kwargs):
355355 test_ctx .error_list .append (
356356 RuntimeError (
357357 "{} cancelled the test but didn't "
358- "raise an error"
359- .format (fixture .name )
358+ "raise an error" .format (fixture .name )
360359 )
361360 )
362361
You can’t perform that action at this time.
0 commit comments