summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Jin <kenjin4096@gmail.com>2022-04-06 17:11:07 (GMT)
committerGitHub <noreply@github.com>2022-04-06 17:11:07 (GMT)
commit1ab53511e96db42ade7bd8efdd4f237cbcb69252 (patch)
treec88b96035e7f0120642947450e7751cf6d0651bc
parentb5b3b9151ce0112502e0dc3b12503c28341aca31 (diff)
downloadcpython-1ab53511e96db42ade7bd8efdd4f237cbcb69252.zip
cpython-1ab53511e96db42ade7bd8efdd4f237cbcb69252.tar.gz
cpython-1ab53511e96db42ade7bd8efdd4f237cbcb69252.tar.bz2
Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32373)
(cherry picked from commit da922409ac3e65c6bf2911401c7dfdf8ee6e0036)
-rw-r--r--Lib/test/test_sys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 2f1e5e9..ed85d18 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -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)