Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 939f9c8

Browse files
author
Tarek Ziadé
committed
Merged revisions 71884 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r71884 | tarek.ziade | 2009-04-25 14:51:59 +0200 (Sat, 25 Apr 2009) | 1 line #5810: Fixed Distutils test_build_scripts ........
1 parent 4ba8013 commit 939f9c8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Lib/distutils/tests/test_build_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_version_int(self):
9090
# On linux-g++-32 with command line `./configure --enable-ipv6
9191
# --with-suffix=3`, python is compiled okay but the build scripts
9292
# failed when writing the name of the executable
93-
old = sysconfig._config_vars.get('VERSION')
93+
old = sysconfig.get_config_vars().get('VERSION')
9494
sysconfig._config_vars['VERSION'] = 4
9595
try:
9696
cmd.run()

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,9 @@ Core and Builtins
441441
Library
442442
-------
443443

444+
- Issue #5810: Fixed Distutils test_build_scripts so it uses
445+
sysconfig.get_config_vars.
446+
444447
- Issue #4951: Fixed failure in test_httpservers.
445448

446449
- Issue #5795: Fixed test_distutils failure on Debian ppc.

0 commit comments

Comments
 (0)