File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,11 @@ def test_3():
384
384
)
385
385
result = pytester .runpytest ("--stepwise" )
386
386
result .stdout .fnmatch_lines (
387
- ["*::test_2 - assert False*" , "*failed, continuing from this test next run*" ]
387
+ [
388
+ "*::test_2 - assert False*" ,
389
+ "*failed, continuing from this test next run*" ,
390
+ "=* 1 failed, 1 passed in *" ,
391
+ ]
388
392
)
389
393
390
394
# Run a specific test without passing `--stepwise`.
@@ -394,7 +398,12 @@ def test_3():
394
398
# Running with `--stepwise` should continue from the last failing test.
395
399
result = pytester .runpytest ("--stepwise" )
396
400
result .stdout .fnmatch_lines (
397
- ["*::test_2 - assert False*" , "*failed, continuing from this test next run*" ]
401
+ [
402
+ "stepwise: skipping 1 already passed items." ,
403
+ "*::test_2 - assert False*" ,
404
+ "*failed, continuing from this test next run*" ,
405
+ "=* 1 failed, 1 deselected in *" ,
406
+ ]
398
407
)
399
408
400
409
You can’t perform that action at this time.
0 commit comments