Skip to content

Commit c812a3c

Browse files
committed
fixup! fixup! fixup! fixup! Add tests for the fallback option
1 parent 7d57970 commit c812a3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_traceback.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ class CPythonTracebackLegacyErrorCaretTests(
964964
"""
965965

966966

967-
class TracebackFormatMixing:
967+
class TracebackFormatMixin:
968968
DEBUG_RANGES = True
969969

970970
def some_exception(self):
@@ -1353,11 +1353,11 @@ def test_print_exception_bad_type_python(self):
13531353
boundaries = re.compile(
13541354
'(%s|%s)' % (re.escape(cause_message), re.escape(context_message)))
13551355

1356-
class TestTracebackFormat(unittest.TestCase, TracebackFormatMixing):
1356+
class TestTracebackFormat(unittest.TestCase, TracebackFormatMixin):
13571357
pass
13581358

13591359
@cpython_only
1360-
class TestFallbackTracebackFormat(unittest.TestCase, TracebackFormatMixing):
1360+
class TestFallbackTracebackFormat(unittest.TestCase, TracebackFormatMixin):
13611361
DEBUG_RANGES = False
13621362
def setUp(self) -> None:
13631363
self.original_hook = traceback._print_exception_bltin

0 commit comments

Comments
 (0)