mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Fix whitespace/indentation issues in test_sys (GH-32369) (GH-32373)
(cherry picked from commit da922409ac)
This commit is contained in:
parent
b5b3b9151c
commit
1ab53511e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue