]> granicus.if.org Git - python/commitdiff
Fix indentation.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 5 Mar 2013 18:31:34 +0000 (20:31 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 5 Mar 2013 18:31:34 +0000 (20:31 +0200)
Lib/test/test_capi.py
Lib/test/test_faulthandler.py

index c0c8a12ac0e01dbe4a7278412a10bb75405dd715..f1ea5a9fdeb7afbd1ad5d8db31c4c18f158631bc 100644 (file)
@@ -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.
index 4e6d9bc2ad128a1016434259647bf3894aba088d..c171faf2302b27ddb3f6c8ca09bc72955a6ffb1d 100644 (file)
@@ -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)