mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
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:
parent
a1392d5ace
commit
a01d6609b9
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