diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-05 18:31:34 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-05 18:31:34 (GMT) |
commit | e1857d999d5547aa1ed99a76dad889b468a71222 (patch) | |
tree | baac1e80f3563ea4991c585ee70b9872eab0a3ef /Lib/test | |
parent | 25a404520da6c2560690e457404ea36f4aaa9344 (diff) | |
download | cpython-e1857d999d5547aa1ed99a76dad889b468a71222.zip cpython-e1857d999d5547aa1ed99a76dad889b468a71222.tar.gz cpython-e1857d999d5547aa1ed99a76dad889b468a71222.tar.bz2 |
Fix indentation.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_capi.py | 8 | ||||
-rw-r--r-- | Lib/test/test_faulthandler.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index c0c8a12..f1ea5a9 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -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. diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index 4e6d9bc..c171faf 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -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) |