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

(cherry picked from commit da922409ac)
This commit is contained in:
Ken Jin 2022-04-07 00:11:07 +07:00 committed by GitHub
parent b5b3b9151c
commit 1ab53511e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -982,8 +982,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()
testName = 'test_original_unraisablehook_exception_qualname'
self.assertIn(f"{testName}.<locals>.A.B.X", report)