From: Tarek Ziadé Date: Wed, 29 Apr 2009 08:07:44 +0000 (+0000) Subject: Merged revisions 72094 via svnmerge from X-Git-Tag: v3.1b1~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8162382c486aac88b4a7c046515bc7c6b1bfc6c8;p=python Merged revisions 72094 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r72094 | tarek.ziade | 2009-04-29 10:03:46 +0200 (Wed, 29 Apr 2009) | 1 line Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore ........ --- diff --git a/Lib/distutils/tests/test_config_cmd.py b/Lib/distutils/tests/test_config_cmd.py index 1e6ebfacf5..bacf13a291 100644 --- a/Lib/distutils/tests/test_config_cmd.py +++ b/Lib/distutils/tests/test_config_cmd.py @@ -46,7 +46,7 @@ class ConfigTestCase(support.LoggingSilencer, match = cmd.search_cpp(pattern='xxx', body='// xxx') self.assertEquals(match, 0) - match = cmd.search_cpp(pattern='command', body='// xxx') + match = cmd.search_cpp(pattern='_configtest', body='// xxx') self.assertEquals(match, 1) def test_finalize_options(self): diff --git a/Misc/NEWS b/Misc/NEWS index 251a8ebe2f..54a3b093f8 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -473,6 +473,9 @@ Core and Builtins Library ------- +- Issue #5874: distutils.tests.test_config_cmd is not locale-sensitive + anymore. + - Issue #5810: Fixed Distutils test_build_scripts so it uses sysconfig.get_config_vars.