Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e1857d9

Browse files
committed
Fix indentation.
1 parent 25a4045 commit e1857d9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lib/test/test_capi.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ def test_instancemethod(self):
4646
def test_no_FatalError_infinite_loop(self):
4747
with support.suppress_crash_popup():
4848
p = subprocess.Popen([sys.executable, "-c",
49-
'import _testcapi;'
50-
'_testcapi.crash_no_current_thread()'],
51-
stdout=subprocess.PIPE,
52-
stderr=subprocess.PIPE)
49+
'import _testcapi;'
50+
'_testcapi.crash_no_current_thread()'],
51+
stdout=subprocess.PIPE,
52+
stderr=subprocess.PIPE)
5353
(out, err) = p.communicate()
5454
self.assertEqual(out, b'')
5555
# This used to cause an infinite loop.

Lib/test/test_faulthandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def check_fatal_error(self, code, line_number, name_regex,
102102
if other_regex:
103103
regex += '|' + other_regex
104104
with support.suppress_crash_popup():
105-
output, exitcode = self.get_output(code, filename)
105+
output, exitcode = self.get_output(code, filename)
106106
output = '\n'.join(output)
107107
self.assertRegex(output, regex)
108108
self.assertNotEqual(exitcode, 0)

0 commit comments

Comments
 (0)