summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-04-25 12:51:59 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-04-25 12:51:59 (GMT)
commitbcddf6777ac46e9cee508749840263c4ea169a19 (patch)
tree12d536a96a26f25234d32edb44f5d3639b2086d6 /Lib
parenta2dce5a9eec9fca19a374bd4713cb0bc8e796e2e (diff)
downloadcpython-bcddf6777ac46e9cee508749840263c4ea169a19.zip
cpython-bcddf6777ac46e9cee508749840263c4ea169a19.tar.gz
cpython-bcddf6777ac46e9cee508749840263c4ea169a19.tar.bz2
#5810: Fixed Distutils test_build_scripts
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/tests/test_build_scripts.py2
1 files changed, 1 insertions, 1 deletions
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()