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

This commit is contained in:
Kristján Valur Jónsson 2007-04-26 13:44:16 +00:00
parent 0a440d4184
commit 94b706be35
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")