Skip to content

Commit ee4016b

Browse files
committed
Reformat code
1 parent c6a985a commit ee4016b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Lib/test/test_sys.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1178,11 +1178,12 @@ class X(Exception):
11781178
for moduleName in 'builtins', '__main__', 'some_module':
11791179
with self.subTest(moduleName=moduleName):
11801180
A.B.X.__module__ = moduleName
1181-
with test.support.captured_stderr() as stderr, \
1182-
test.support.swap_attr(sys, 'unraisablehook',
1183-
sys.__unraisablehook__):
1181+
with test.support.captured_stderr() as stderr, test.support.swap_attr(
1182+
sys, 'unraisablehook', sys.__unraisablehook__
1183+
):
11841184
expected = self.write_unraisable_exc(
1185-
A.B.X(), "msg", "obj");
1185+
A.B.X(), "msg", "obj"
1186+
)
11861187
report = stderr.getvalue()
11871188
self.assertIn(A.B.X.__qualname__, report)
11881189
if moduleName in ['builtins', '__main__']:

0 commit comments

Comments
 (0)