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.

This commit is contained in:
Kristján Valur Jónsson 2007-05-07 19:31:41 +00:00
parent a1392d5ace
commit a01d6609b9
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if sys.platform == 'darwin':
oldlocale = locale.setlocale(locale.LC_NUMERIC) oldlocale = locale.setlocale(locale.LC_NUMERIC)
if sys.platform.startswith("win"): if sys.platform.startswith("win"):
tlocs = ("en",) tlocs = ("En", "English")
else: else:
tlocs = ("en_US.UTF-8", "en_US.US-ASCII", "en_US") tlocs = ("en_US.UTF-8", "en_US.US-ASCII", "en_US")