mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue