From: Victor Stinner Date: Fri, 9 Dec 2011 10:29:44 +0000 (+0100) Subject: Issue #13441: Enable the workaround for Solaris locale bug X-Git-Tag: v3.3.0a1~654 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f54f7590071589e4a7d440a5a7a691f8e92f837;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index 39b42e2c34b2..f7f1abdab208 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)