mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ if sys.platform == 'darwin':
|
|||
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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue