]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32373)
authorKen Jin <kenjin4096@gmail.com>
Wed, 6 Apr 2022 17:11:07 +0000 (00:11 +0700)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 17:11:07 +0000 (01:11 +0800)
(cherry picked from commit da922409ac3e65c6bf2911401c7dfdf8ee6e0036)

Lib/test/test_sys.py

index 2f1e5e971e8e9b0d6497919e9965135925a55948..ed85d185412ea8bc5ae78bb82df63488201f455e 100644 (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)