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

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


https://github.com/python/cpython/commit/da922409ac3e65c6bf2911401c7dfdf8ee6e0036
commit: da922409ac3e65c6bf2911401c7dfdf8ee6e0036
branch: main
author: Ken Jin <kenjin4096 at gmail.com>
committer: Fidget-Spinner <kenjin4096 at gmail.com>
date: 2022-04-06T23:40:51+08:00
summary:

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

files:
M Lib/test/test_sys.py

diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index f4deb1763b95f..445ff893ff6fc 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -1179,8 +1179,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()
                 self.assertIn(A.B.X.__qualname__, report)
                 if moduleName in ['builtins', '__main__']:



More information about the Python-checkins mailing list