bpo-39009: Fix typo in test__locale (GH-17544)

This commit is contained in:
Tim Gates 2019-12-10 09:16:01 +11:00 committed by Pablo Galindo
parent a2ff283d51
commit 2ad7651c00
1 changed files with 1 additions and 1 deletions

View File

@ -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)