It is not optimal to test sys.stderr on a debug build.

This commit is contained in:
Florent Xicluna 2010-03-11 01:39:55 +00:00
parent e58d91c8f0
commit 6602ec6eff
1 changed files with 1 additions and 2 deletions

View File

@ -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)