Skip to content

Commit 9303de8

Browse files
MarcoGorelliblueyed
authored andcommitted
Fix error in newly introduced test_collecterror
Via #6107. (cherry picked from commit 1b9fbbf)
1 parent 3fb9698 commit 9303de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_terminal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,13 +1781,13 @@ def test_collecterror(testdir):
17811781
result = testdir.runpytest("-ra", str(p1))
17821782
result.stdout.fnmatch_lines(
17831783
[
1784-
"collected 0 items / 1 errors",
1784+
"collected 0 items / 1 error",
17851785
"*= ERRORS =*",
17861786
"*_ ERROR collecting test_collecterror.py _*",
17871787
"E SyntaxError: *",
17881788
"*= short test summary info =*",
17891789
"ERROR test_collecterror.py",
1790-
"*! Interrupted: 1 errors during collection !*",
1790+
"*! Interrupted: 1 error during collection !*",
17911791
"*= 1 error in *",
17921792
]
17931793
)

0 commit comments

Comments
 (0)