1
2
3
4
5
6
7
8
9
10
11
12
13 | --- a/testtools/tests/test_testresult.py
+++ b/testtools/tests/test_testresult.py
@@ -2526,7 +2526,9 @@
f.close()
textoutput = self._run_external_case()
matches_error = MatchesAny(
- Contains('\nTypeError: '), Contains('\nSyntaxError: '))
+ Contains('\nTypeError: '),
+ Contains('\nSyntaxError: '),
+ Contains('\nValueError: '))
self.assertThat(textoutput, matches_error)
def test_syntax_error_line_iso_8859_1(self):
|