summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2021-06-01 08:13:32 +0200
committerMichael Howitz <mh@gocept.com>2021-06-01 08:13:32 +0200
commit3c35575c4bcf89f84568a87bb875b4af1df1d61a (patch)
treedd318a1c80f55846e8244e6a85a437ac66eb2806
parentb30189e4f078ca2857e2a5208e5e35978af92850 (diff)
downloadzope-exceptions-3c35575c4bcf89f84568a87bb875b4af1df1d61a.tar.gz
Make linter happy.
-rw-r--r--src/zope/exceptions/tests/test_exceptionformatter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py
index 8eddc16..b65e10c 100644
--- a/src/zope/exceptions/tests/test_exceptionformatter.py
+++ b/src/zope/exceptions/tests/test_exceptionformatter.py
@@ -668,7 +668,8 @@ class Test_format_exception(unittest.TestCase):
self.assertEqual(lines[0], ' syntax error')
# PyPy has a shorter prefix
self.assertTrue(lines[1].endswith(' ^'))
- self.assertTrue(lines[2].startswith('SyntaxError: invalid syntax'), lines[2])
+ self.assertTrue(lines[2].startswith('SyntaxError: invalid syntax'),
+ lines[2])
def test_traceback_info_non_ascii(self):
__traceback_info__ = u"Have a Snowman: \u2603"