Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Sep 9, 2023
1 parent 6509e85 commit 8f07eeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/test/test_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -1603,21 +1603,21 @@ def test_exception_with_multiple_notes(self):
for e in [ValueError(42), SyntaxError('bad syntax')]:
with self.subTest(e=e):
vanilla = self.get_report(e)

e.add_note('Note 1')
e.add_note('Note 2')
e.add_note('Note 3')

self.assertEqual(
self.get_report(e),
vanilla + 'Note 1\n' + 'Note 2\n' + 'Note 3\n')

del e.__notes__
e.add_note('Note 4')
del e.__notes__
e.add_note('Note 5')
e.add_note('Note 6')

self.assertEqual(
self.get_report(e),
vanilla + 'Note 5\n' + 'Note 6\n')
Expand Down

0 comments on commit 8f07eeb

Please sign in to comment.