From: Tarek Ziadé Date: Wed, 29 Apr 2009 08:03:46 +0000 (+0000) Subject: Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore X-Git-Tag: v2.7a1~1345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1b91d944beda4a9f1a9ae9a34adbe59c2ad78f5;p=python 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 6fdc253b15..efd57d4632 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -255,6 +255,9 @@ Core and Builtins Library ------- +- Issue #5874: distutils.tests.test_config_cmd is not locale-sensitive + anymore. + - Issue #4305: ctypes should now build again on mipsel-linux-gnu - Issue #1734234: Massively speedup ``unicodedata.normalize()`` when the