8000 fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!… · python/cpython@d74b837 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d74b837

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add tests for the fallback option
1 parent a6eb00e commit d74b837

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_traceback.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,8 @@ def test_exception_group_deep_recursion_traceback(self):
13291329
def test_print_exception_bad_type_capi(self):
13301330
from _testcapi import exception_print
13311331
with captured_output("stderr") as stderr:
1332-
exception_print(42)
1332+
with support.catch_unraisable_exception():
1333+
exception_print(42)
13331334
self.assertEqual(
13341335
stderr.getvalue(),
13351336
('TypeError: print_exception(): '

0 commit comments

Comments
 (0)
0