diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2017-02-19 04:33:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-19 04:33:50 (GMT) |
commit | 760f596b6a4b5514afe35e521621f484aef35413 (patch) | |
tree | 22157aeb52da970f0dbb7fddfe84ee9730647771 /Python/pythonrun.c | |
parent | 5e04dfecec478db13031fa507d6b2e21adbce035 (diff) | |
download | cpython-760f596b6a4b5514afe35e521621f484aef35413.zip cpython-760f596b6a4b5514afe35e521621f484aef35413.tar.gz cpython-760f596b6a4b5514afe35e521621f484aef35413.tar.bz2 |
[3.5] bpo-29571: Use correct locale encoding in test_re (#149) (#154)
``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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions