Serhiy Storchaka added the comment: Good point. The test used locale.getlocale() and it returned returned ('en_IN', 'ISO8859-1').
Following patch makes the test using locale.getpreferredencoding(False), the same encoding as was reported at the header of test report. ---------- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file46641/test_re_locale_flag.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com