diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py index aa2c5144ea1..67057bcbefd 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -243,9 +243,8 @@ class TestSysConfig(unittest.TestCase): symlink = get_attribute(os, "symlink") def get(python): cmd = [python, '-c', - 'import sysconfig; print sysconfig.get_platform()'] - p = subprocess.Popen(cmd, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + 'import sysconfig; print(sysconfig.get_platform())'] + p = subprocess.Popen(cmd, stdout=subprocess.PIPE) return p.communicate() real = os.path.realpath(sys.executable) link = os.path.abspath(TESTFN)