summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-13 15:35:12 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-13 15:35:12 (GMT)
commit01fe610773362bdeab995781825a52ea3ad8a00b (patch)
treee9d9067de183acdb148e4df474a9cbaaef2d8ac5 /Lib/test
parentb14930cd93e74cae3b7370262c6dcc7c28e0e712 (diff)
downloadcpython-01fe610773362bdeab995781825a52ea3ad8a00b.zip
cpython-01fe610773362bdeab995781825a52ea3ad8a00b.tar.gz
cpython-01fe610773362bdeab995781825a52ea3ad8a00b.tar.bz2
Merged revisions 78832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78832 | florent.xicluna | 2010-03-11 02:39:55 +0100 (jeu, 11 mar 2010) | 2 lines It is not optimal to test sys.stderr on a debug build. ........
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sysconfig.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index aa2c514..67057bc 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -243,9 +243,8 @@ class TestSysConfig(unittest.TestCase):
symlink = get_attribute(os, "symlink")
def get(python):
cmd = [python, '-c',
- 'import sysconfig; print sysconfig.get_platform()']
- p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
+ 'import sysconfig; print(sysconfig.get_platform())']
+ p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
return p.communicate()
real = os.path.realpath(sys.executable)
link = os.path.abspath(TESTFN)