diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py index 606ccd0af0e..59cba97f019 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -245,8 +245,7 @@ def test_symlink(self): 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)