Kaydet (Commit) 6602ec6e authored tarafından Florent Xicluna's avatar Florent Xicluna

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

üst e58d91c8
...@@ -245,8 +245,7 @@ class TestSysConfig(unittest.TestCase): ...@@ -245,8 +245,7 @@ class TestSysConfig(unittest.TestCase):
def get(python): def get(python):
cmd = [python, '-c', cmd = [python, '-c',
'import sysconfig; print sysconfig.get_platform()'] 'import sysconfig; print sysconfig.get_platform()']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
stderr=subprocess.PIPE)
return p.communicate() return p.communicate()
real = os.path.realpath(sys.executable) real = os.path.realpath(sys.executable)
link = os.path.abspath(TESTFN) link = os.path.abspath(TESTFN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment