Skip to content

Commit

Permalink
Fix test when run with FORCE_COLOR: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 12, 2024
1 parent 29b9e98 commit 52a74d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2274,6 +2274,7 @@ def test_range_of_offsets(self):
self.assertIn(expected, err.getvalue())
the_exception = exc

@force_not_colorized
def test_subclass(self):
class MySyntaxError(SyntaxError):
pass
Expand Down

0 comments on commit 52a74d1

Please sign in to comment.