bpo-39009: Fix typo in test__locale (GH-17544)
This commit is contained in:
parent
a2ff283d51
commit
2ad7651c00
|
@ -30,7 +30,7 @@ def setUpModule():
|
||||||
global candidate_locales
|
global candidate_locales
|
||||||
# Issue #13441: Skip some locales (e.g. cs_CZ and hu_HU) on Solaris to
|
# Issue #13441: Skip some locales (e.g. cs_CZ and hu_HU) on Solaris to
|
||||||
# workaround a mbstowcs() bug. For example, on Solaris, the hu_HU locale uses
|
# workaround a mbstowcs() bug. For example, on Solaris, the hu_HU locale uses
|
||||||
# the locale encoding ISO-8859-2, the thousauds separator is b'\xA0' and it is
|
# the locale encoding ISO-8859-2, the thousands separator is b'\xA0' and it is
|
||||||
# decoded as U+30000020 (an invalid character) by mbstowcs().
|
# decoded as U+30000020 (an invalid character) by mbstowcs().
|
||||||
if sys.platform == 'sunos5':
|
if sys.platform == 'sunos5':
|
||||||
old_locale = locale.setlocale(locale.LC_ALL)
|
old_locale = locale.setlocale(locale.LC_ALL)
|
||||||
|
|
Loading…
Reference in New Issue