From: Kristján Valur Jónsson Date: Thu, 26 Apr 2007 13:44:16 +0000 (+0000) Subject: The locale "En" appears not to be valid on windows underi VisualStudio.2005. Added... X-Git-Tag: v2.6a1~1799 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94b706be3573957a349367646195b5a203959aec;p=thirdparty%2FPython%2Fcpython.git The locale "En" appears not to be valid on windows underi VisualStudio.2005. Added "English" to the test_locale.py to make the testsuite pass for that build --- diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index 9e264b9c4ee4..a91d358d64ca 100644 --- a/Lib/test/test_locale.py +++ b/Lib/test/test_locale.py @@ -7,7 +7,7 @@ if sys.platform == 'darwin': oldlocale = locale.setlocale(locale.LC_NUMERIC) if sys.platform.startswith("win"): - tlocs = ("en",) + tlocs = ("En", "English") else: tlocs = ("en_US.UTF-8", "en_US.US-ASCII", "en_US")