[Python-checkins] cpython (3.3): Fix indentation.
ezio.melotti
python-checkins at python.org
Tue Mar 5 19:33:56 CET 2013
http://hg.python.org/cpython/rev/ef7565180b48
changeset: 82499:ef7565180b48
branch: 3.3
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Tue Mar 05 20:31:34 2013 +0200
summary:
Fix indentation.
files:
Lib/test/test_capi.py | 8 ++++----
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
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -46,10 +46,10 @@
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
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -102,7 +102,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list