]> granicus.if.org Git - python/commitdiff
It is not optimal to test sys.stderr on a debug build.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Thu, 11 Mar 2010 01:39:55 +0000 (01:39 +0000)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Thu, 11 Mar 2010 01:39:55 +0000 (01:39 +0000)
Lib/test/test_sysconfig.py

index 606ccd0af0e33ff8d9a7b8a9fb8f72708d3dba5c..59cba97f01997640432d4bd815684c6f45ff3b94 100644 (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)