summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2017-02-19 04:33:50 (GMT)
committerGitHub <noreply@github.com>2017-02-19 04:33:50 (GMT)
commit760f596b6a4b5514afe35e521621f484aef35413 (patch)
tree22157aeb52da970f0dbb7fddfe84ee9730647771 /Python/errors.c
parent5e04dfecec478db13031fa507d6b2e21adbce035 (diff)
downloadcpython-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/errors.c')
0 files changed, 0 insertions, 0 deletions