Skip to content

Commit 2d27f21

Browse files
committed
Update test_sys from CPython 3.10.5
1 parent 9bfded1 commit 2d27f21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_sys.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import builtins
22
import codecs
3-
# import gc
3+
import gc
44
import locale
55
import operator
66
import os
@@ -1111,8 +1111,8 @@ class X(Exception):
11111111
with test.support.captured_stderr() as stderr, \
11121112
test.support.swap_attr(sys, 'unraisablehook',
11131113
sys.__unraisablehook__):
1114-
expected = self.write_unraisable_exc(
1115-
A.B.X(), "msg", "obj");
1114+
expected = self.write_unraisable_exc(
1115+
A.B.X(), "msg", "obj");
11161116
report = stderr.getvalue()
11171117
testName = 'test_original_unraisablehook_exception_qualname'
11181118
self.assertIn(f"{testName}.<locals>.A.B.X", report)

0 commit comments

Comments
 (0)