From: Tarek Ziadé Date: Sat, 25 Apr 2009 12:51:59 +0000 (+0000) Subject: #5810: Fixed Distutils test_build_scripts X-Git-Tag: v2.7a1~1412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcddf6777ac46e9cee508749840263c4ea169a19;p=python #5810: Fixed Distutils test_build_scripts --- diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py index 2acfab828e..b55eb5857b 100644 --- a/Lib/distutils/tests/test_build_scripts.py +++ b/Lib/distutils/tests/test_build_scripts.py @@ -90,7 +90,7 @@ class BuildScriptsTestCase(support.TempdirManager, # 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() diff --git a/Misc/NEWS b/Misc/NEWS index 125cf6ef83..69081096b9 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -246,6 +246,9 @@ Core and Builtins 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