added missing newline in test

This commit is contained in:
Irit Katriel 2020-12-22 22:54:27 +00:00 committed by GitHub
parent cc6dd89baf
commit 711cd060cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -703,6 +703,7 @@ class BaseExceptionReportingTests:
msg = self.get_report(e).splitlines() msg = self.get_report(e).splitlines()
self.assertEqual(msg, self.assertEqual(msg,
[' File "myfile.py", line 100', 'SyntaxError: bad syntax']) [' File "myfile.py", line 100', 'SyntaxError: bad syntax'])
class PyExcReportingTests(BaseExceptionReportingTests, unittest.TestCase): class PyExcReportingTests(BaseExceptionReportingTests, unittest.TestCase):
# #
# This checks reporting through the 'traceback' module, with both # This checks reporting through the 'traceback' module, with both