commit | 0683d6889bd4430599d22e12e201b8e9c45be5a2 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sun Feb 19 10:03:35 2017 +0530 |
committer | GitHub <noreply@github.com> | Sun Feb 19 10:03:35 2017 +0530 |
tree | d13cda69479e403ec2a750666c9c32ef30a4d7be | |
parent | d372cda5cd46712c4e59262ec1ab981773b20bff [diff] |
[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153) ``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.