[Python-checkins] Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32373)

Fidget-Spinner webhook-mailer at python.org
Wed Apr 6 13:11:17 EDT 2022


https://github.com/python/cpython/commit/1ab53511e96db42ade7bd8efdd4f237cbcb69252
commit: 1ab53511e96db42ade7bd8efdd4f237cbcb69252
branch: 3.9
author: Ken Jin <kenjin4096 at gmail.com>
committer: Fidget-Spinner <kenjin4096 at gmail.com>
date: 2022-04-07T01:11:07+08:00
summary:

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

(cherry picked from commit da922409ac3e65c6bf2911401c7dfdf8ee6e0036)

files:
M Lib/test/test_sys.py

diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 2f1e5e971e8e9..ed85d185412ea 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -982,8 +982,8 @@ class X(Exception):
         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)



More information about the Python-checkins mailing list