mirror of https://github.com/python/cpython
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:
parent
0a440d4184
commit
94b706be35
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue