Fix whitespace/indentation issues in test_sys (GH-32369)

This commit is contained in:
Ken Jin 2022-04-06 22:40:51 +07:00 committed by GitHub
parent b33c4564ac
commit da922409ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1179,8 +1179,8 @@ class UnraisableHookTest(unittest.TestCase):
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()
self.assertIn(A.B.X.__qualname__, report)
if moduleName in ['builtins', '__main__']: