From 9303de877aefc5304522b2e2522c314e0616040c Mon Sep 17 00:00:00 2001 From: MarcoGorelli Date: Sun, 3 Nov 2019 16:48:06 +0000 Subject: [PATCH] Fix error in newly introduced test_collecterror Via https://github.com/pytest-dev/pytest/pull/6107. (cherry picked from commit 1b9fbbfa195aa20c48574265935dc5e66b96ec16) --- testing/test_terminal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_terminal.py b/testing/test_terminal.py index e77102667..bc5ddfbe9 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -1781,13 +1781,13 @@ def test_collecterror(testdir): result = testdir.runpytest("-ra", str(p1)) result.stdout.fnmatch_lines( [ - "collected 0 items / 1 errors", + "collected 0 items / 1 error", "*= ERRORS =*", "*_ ERROR collecting test_collecterror.py _*", "E SyntaxError: *", "*= short test summary info =*", "ERROR test_collecterror.py", - "*! Interrupted: 1 errors during collection !*", + "*! Interrupted: 1 error during collection !*", "*= 1 error in *", ] )