diff --git a/testing/test_cacheprovider.py b/testing/test_cacheprovider.py index 29c2d8a1d..35a7232ab 100644 --- a/testing/test_cacheprovider.py +++ b/testing/test_cacheprovider.py @@ -418,7 +418,7 @@ class TestLastFailed(object): result = testdir.runpytest("--lf") result.stdout.fnmatch_lines( [ - "collected 4 items / 2 deselected", + "collected 4 items / 2 deselected / 2 selected", "run-last-failure: rerun previous 2 failures", "*2 failed, 2 deselected in*", ] diff --git a/testing/test_terminal.py b/testing/test_terminal.py index c0dd21bc2..89d455b39 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -474,7 +474,7 @@ class TestTerminalFunctional(object): ) result = testdir.runpytest("-k", "test_two:", testpath) result.stdout.fnmatch_lines( - ["collected 3 items / 1 deselected", "*test_deselected.py ..*"] + ["collected 3 items / 1 deselected / 2 selected", "*test_deselected.py ..*"] ) assert result.ret == 0 @@ -498,7 +498,7 @@ class TestTerminalFunctional(object): result = testdir.runpytest("-m", "not foo") result.stdout.fnmatch_lines( [ - "collected 3 items / 1 deselected", + "collected 3 items / 1 deselected / 2 selected", "*test_show_deselected.py ..*", "*= 2 passed, 1 deselected in * =*", ]