]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32372)
authorKen Jin <kenjin4096@gmail.com>
Wed, 20 Apr 2022 05:57:30 +0000 (12:57 +0700)
committerGitHub <noreply@github.com>
Wed, 20 Apr 2022 05:57:30 +0000 (13:57 +0800)
Lib/test/test_sys.py

index 35da72c432b0aff69a4246e499c2cae926a86984..a0458092553b4c9d78c40fc21dc1476e2929b6dc 100644 (file)
@@ -1078,8 +1078,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)