[Python-checkins] r71886 - in python/branches/py3k: Lib/distutils/tests/test_build_scripts.py Misc/NEWS

tarek.ziade python-checkins at python.org
Sat Apr 25 14:53:56 CEST 2009


Author: tarek.ziade
Date: Sat Apr 25 14:53:56 2009
New Revision: 71886

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

........
  r71884 | tarek.ziade | 2009-04-25 14:51:59 +0200 (Sat, 25 Apr 2009) | 1 line
  
  #5810: Fixed Distutils test_build_scripts
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/distutils/tests/test_build_scripts.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/distutils/tests/test_build_scripts.py
==============================================================================
--- python/branches/py3k/Lib/distutils/tests/test_build_scripts.py	(original)
+++ python/branches/py3k/Lib/distutils/tests/test_build_scripts.py	Sat Apr 25 14:53:56 2009
@@ -90,7 +90,7 @@
         # On linux-g++-32 with command line `./configure --enable-ipv6
         # --with-suffix=3`, python is compiled okay but the build scripts
         # failed when writing the name of the executable
-        old = sysconfig._config_vars.get('VERSION')
+        old = sysconfig.get_config_vars().get('VERSION')
         sysconfig._config_vars['VERSION'] = 4
         try:
             cmd.run()

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sat Apr 25 14:53:56 2009
@@ -441,6 +441,9 @@
 Library
 -------
 
+- Issue #5810: Fixed Distutils test_build_scripts so it uses 
+  sysconfig.get_config_vars.
+
 - Issue #4951: Fixed failure in test_httpservers.
 
 - Issue #5795: Fixed test_distutils failure on Debian ppc.


More information about the Python-checkins mailing list