Staging
v0.5.1
https://github.com/python/cpython
Revision 0683d6889bd4430599d22e12e201b8e9c45be5a2 authored by Nick Coghlan on 19 February 2017, 04:33:35 UTC, committed by GitHub on 19 February 2017, 04:33:35 UTC
``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.
1 parent d372cda
History
Tip revision: 0683d6889bd4430599d22e12e201b8e9c45be5a2 authored by Nick Coghlan on 19 February 2017, 04:33:35 UTC
[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153)
Tip revision: 0683d68

README

back to top