diff options
Diffstat (limited to 'functional_tests')
-rw-r--r-- | functional_tests/test_failure.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functional_tests/test_failure.py b/functional_tests/test_failure.py index ed856ae..e9d17e9 100644 --- a/functional_tests/test_failure.py +++ b/functional_tests/test_failure.py @@ -20,7 +20,9 @@ class TestPrintedTraceback(PluginTester, unittest.TestCase): print str(self.output) print '!' * 70 print - assert 'ordinal not in range(128)' in str(self.output) + + # Look for the line in the traceback causing the failure + assert "raise '\\xf1'.encode('ASCII')" in str(self.output) assert 'FAILED (errors=1)' in str(self.output) if __name__ == '__main__': |