From 939f9c898a2835a600e346696e3e82fbfc5c27fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Sat, 25 Apr 2009 12:53:56 +0000 Subject: 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 ........ --- Lib/distutils/tests/test_build_scripts.py | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py index 2acfab8..b55eb58 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 b9fc50a..9f9ad37 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -441,6 +441,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 #5795: Fixed test_distutils failure on Debian ppc. -- cgit v0.12