Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_sys from CPython 3.10.5
  • Loading branch information
youknowone committed Feb 25, 2023
commit e45b5b35e311d78aa509d1608b570ea7e3e7b7f1
6 changes: 3 additions & 3 deletions Lib/test/test_sys.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import builtins
import codecs
# import gc
import gc
import locale
import operator
import os
Expand Down Expand Up @@ -1111,8 +1111,8 @@ class X(Exception):
with test.support.captured_stderr() as stderr, \
test.support.swap_attr(sys, 'unraisablehook',
sys.__unraisablehook__):
expected = self.write_unraisable_exc(
A.B.X(), "msg", "obj");
expected = self.write_unraisable_exc(
A.B.X(), "msg", "obj");
report = stderr.getvalue()
testName = 'test_original_unraisablehook_exception_qualname'
self.assertIn(f"{testName}.<locals>.A.B.X", report)
Expand Down