[Python-checkins] r71884 - in python/trunk: Lib/distutils/tests/test_build_scripts.py Misc/NEWS

tarek.ziade python-checkins at python.org
Sat Apr 25 14:51:59 CEST 2009


Author: tarek.ziade
Date: Sat Apr 25 14:51:59 2009
New Revision: 71884

Log:
#5810: Fixed Distutils test_build_scripts

Modified:
   python/trunk/Lib/distutils/tests/test_build_scripts.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/distutils/tests/test_build_scripts.py
==============================================================================
--- python/trunk/Lib/distutils/tests/test_build_scripts.py	(original)
+++ python/trunk/Lib/distutils/tests/test_build_scripts.py	Sat Apr 25 14:51:59 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/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sat Apr 25 14:51:59 2009
@@ -246,6 +246,9 @@
 Library
 -------
 
+- Issue #5810: Fixed Distutils test_build_scripts so it uses 
+  sysconfig.get_config_vars.
+
 - Issue #4951: Fixed failure in test_httpservers.
 
 - Issue #3102:  All global symbols that the _ctypes extension defines


More information about the Python-checkins mailing list