#5810: Fixed Distutils test_build_scripts

This commit is contained in:
Tarek Ziadé 2009-04-25 12:51:59 +00:00
parent a2dce5a9ee
commit bcddf6777a
2 changed files with 4 additions and 1 deletions

View file

@ -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()