diff --git a/testing/test_terminal.py b/testing/test_terminal.py index cc27a4e51..458750104 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -542,6 +542,8 @@ def test_pass_output_reporting(testdir): def test_pass_output(): print("Four score and seven years ago...") """) + result = testdir.runpytest() + assert 'Four score and seven years ago...' not in result.stdout.str() result = testdir.runpytest('-rP') result.stdout.fnmatch_lines([ "Four score and seven years ago...",