[Python-checkins] r54983 - python/trunk/Lib/test/test_locale.py
kristjan.jonsson
python-checkins at python.org
Thu Apr 26 15:44:20 CEST 2007
Author: kristjan.jonsson
Date: Thu Apr 26 15:44:16 2007
New Revision: 54983
Modified:
python/trunk/Lib/test/test_locale.py
Log:
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
Modified: python/trunk/Lib/test/test_locale.py
==============================================================================
--- python/trunk/Lib/test/test_locale.py (original)
+++ python/trunk/Lib/test/test_locale.py Thu Apr 26 15:44:16 2007
@@ -7,7 +7,7 @@
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")
More information about the Python-checkins
mailing list