◐ Shell
clean mode source ↗

[3.6] bpo-29571: Use correct locale encoding in test_re (#149) by ncoghlan · Pull Request #153 · python/cpython

``local.getlocale(locale.LC_CTYPE)`` and
``locale.getpreferredencoding(False)`` may give different answers
in some cases (such as the ``en_IN`` locale).

``re.LOCALE`` uses the latter, so update the test case to match.

serhiy-storchaka

@ncoghlan ncoghlan deleted the bpo-29571-3.6-backport branch

March 30, 2018 07:44

isidentical added a commit to isidentical/cpython that referenced this pull request

Oct 25, 2021