commit | ace5c0fdd9b962e6e886c29dbcea72c53f051dc4 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sat Feb 18 15:01:22 2017 +0530 |
committer | GitHub <noreply@github.com> | Sat Feb 18 15:01:22 2017 +0530 |
tree | 42ccb556dbc142665c461cd02d76b4ad5dbfd1d6 | |
parent | 1b3d88eb33085e90af729c4c2f78b5ba1b942b1e [diff] |
bpo-29571: Use correct locale encoding in test_re (#149) ``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.