Commit e1857d99 authored by Ezio Melotti's avatar Ezio Melotti

Fix indentation.

parent 25a40452
......@@ -46,10 +46,10 @@ class CAPITest(unittest.TestCase):
def test_no_FatalError_infinite_loop(self):
with support.suppress_crash_popup():
p = subprocess.Popen([sys.executable, "-c",
'import _testcapi;'
'_testcapi.crash_no_current_thread()'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
'import _testcapi;'
'_testcapi.crash_no_current_thread()'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
(out, err) = p.communicate()
self.assertEqual(out, b'')
# This used to cause an infinite loop.
......
......@@ -102,7 +102,7 @@ class FaultHandlerTests(unittest.TestCase):
if other_regex:
regex += '|' + other_regex
with support.suppress_crash_popup():
output, exitcode = self.get_output(code, filename)
output, exitcode = self.get_output(code, filename)
output = '\n'.join(output)
self.assertRegex(output, regex)
self.assertNotEqual(exitcode, 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment