Skip to content

Commit 14a4dd0

Browse files
committed
Extend test to verify longrepr in stdout
1 parent 296f42a commit 14a4dd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/test_unittest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ def test_passing_test_is_fail(self):
616616
result.stdout.fnmatch_lines([
617617
"*FAILURES*",
618618
"*MyTestCase*test_passing_test_is_fail*",
619+
"*Unexpected success*",
619620
"*1 failed*",
620621
])
621622
assert result.ret == 1

0 commit comments

Comments
 (0)