diff --git a/testing/test_terminal.py b/testing/test_terminal.py index ca6832834..91e826b99 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -1549,7 +1549,6 @@ class TestGenericReporting: ) result = pytester.runpytest("--tb=line") s = result.stdout.str() - assert "None" not in s bn = p.name result.stdout.fnmatch_lines(["*%s:3: Failed: test_func1" % bn])