[Python-checkins] r55178 - python/branches/release25-maint/Lib/test/test_locale.py

kristjan.jonsson python-checkins at python.org
Mon May 7 21:31:44 CEST 2007


Author: kristjan.jonsson
Date: Mon May  7 21:31:41 2007
New Revision: 55178

Modified:
   python/branches/release25-maint/Lib/test/test_locale.py
Log:
Merge change 54983 from the trunk:  Add the locale "English" to test_locale.py for a windows run, since "En" isn't legal for the Visual C 8 runtime.  This update restores full testsuite compliance to VisualStudio 2005 builds, apart from unavailible external modules.

Modified: python/branches/release25-maint/Lib/test/test_locale.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_locale.py	(original)
+++ python/branches/release25-maint/Lib/test/test_locale.py	Mon May  7 21:31:41 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