[Python-checkins] r78930 - in python/branches/py3k: Lib/test/test_sysconfig.py

florent.xicluna python-checkins at python.org
Sat Mar 13 16:35:12 CET 2010


Author: florent.xicluna
Date: Sat Mar 13 16:35:12 2010
New Revision: 78930

Log:
Merged revisions 78832 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78832 | florent.xicluna | 2010-03-11 02:39:55 +0100 (jeu, 11 mar 2010) | 2 lines
  
  It is not optimal to test sys.stderr on a debug build.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_sysconfig.py

Modified: python/branches/py3k/Lib/test/test_sysconfig.py
==============================================================================
--- python/branches/py3k/Lib/test/test_sysconfig.py	(original)
+++ python/branches/py3k/Lib/test/test_sysconfig.py	Sat Mar 13 16:35:12 2010
@@ -243,9 +243,8 @@
         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)


More information about the Python-checkins mailing list