From: Florent Xicluna Date: Thu, 11 Mar 2010 01:39:55 +0000 (+0000) Subject: It is not optimal to test sys.stderr on a debug build. X-Git-Tag: v2.7b1~397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6602ec6eff33628bbcac09a8935de4c213eeb3c2;p=python It is not optimal to test sys.stderr on a debug build. --- 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)