summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-11 01:39:55 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-11 01:39:55 +0000
commit6602ec6eff33628bbcac09a8935de4c213eeb3c2 (patch)
tree2337915f9a9a44ee524fe75f9b0faf393eb7c669
parente58d91c8f009813dce18711d85f941dc87a7ac5f (diff)
downloadcpython-git-6602ec6eff33628bbcac09a8935de4c213eeb3c2.tar.gz
It is not optimal to test sys.stderr on a debug build.
-rw-r--r--Lib/test/test_sysconfig.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 606ccd0af0..59cba97f01 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -245,8 +245,7 @@ class TestSysConfig(unittest.TestCase):
def get(python):
cmd = [python, '-c',
'import sysconfig; print sysconfig.get_platform()']
- p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
+ p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
return p.communicate()
real = os.path.realpath(sys.executable)
link = os.path.abspath(TESTFN)