summaryrefslogtreecommitdiffstats
path: root/Lib/test/test__locale.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@wyplay.com>2011-12-09 10:29:44 (GMT)
committerVictor Stinner <vstinner@wyplay.com>2011-12-09 10:29:44 (GMT)
commit7f54f7590071589e4a7d440a5a7a691f8e92f837 (patch)
treebe8da41a1055a1c33160f1e7b3cc1f79432ac8b9 /Lib/test/test__locale.py
parent69291c4af0e21b3630e87ea747bcefb55a410263 (diff)
downloadcpython-7f54f7590071589e4a7d440a5a7a691f8e92f837.zip
cpython-7f54f7590071589e4a7d440a5a7a691f8e92f837.tar.gz
cpython-7f54f7590071589e4a7d440a5a7a691f8e92f837.tar.bz2
Issue #13441: Enable the workaround for Solaris locale bug
Skip locales triggering the mbstowcs() bug. I collected the locale list thanks my previous commit: * hu_HU (ISO8859-2): character U+30000020 * de_AT (ISO8859-1): character U+30000076 * cs_CZ (ISO8859-2): character U+30000020 * sk_SK (ISO8859-2): character U+30000020 * pl_PL (ISO8859-2): character U+30000020 * fr_CA (ISO8859-1): character U+30000020
Diffstat (limited to 'Lib/test/test__locale.py')
-rw-r--r--Lib/test/test__locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py
index 39b42e2..f7f1abd 100644
--- a/Lib/test/test__locale.py
+++ b/Lib/test/test__locale.py
@@ -48,7 +48,7 @@ if sys.platform == 'sunos5':
% (loc, encoding, type(err), err))
else:
locales.append(loc)
- #candidate_locales = locales
+ candidate_locales = locales
finally:
locale.setlocale(locale.LC_ALL, old_locale)