Skip to content

Commit e151717

Browse files
committed
fixup! fixup! Add tests for the fallback option
1 parent 2ab2168 commit e151717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_traceback.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1360,10 +1360,10 @@ class TestTracebackFormat(unittest.TestCase, TracebackFormatMixing):
13601360
class TestFallbackTracebackFormat(unittest.TestCase, TracebackFormatMixing):
13611361
DEBUG_RANGES = False
13621362
def setUp(self) -> None:
1363-
self.original_hook = traceback._print_exception_bltin
1363+
self.original_hook = traceback._print_exception_bltin
13641364
traceback._print_exception_bltin = lambda *args: 1/0
13651365
return super().setUp()
1366-
1366+
13671367
def tearDown(self) -> None:
13681368
traceback._print_exception_bltin = self.original_hook
13691369
return super().tearDown()

0 commit comments

Comments
 (0)