blob: 0f40c98514ce9b976483c88e1d250d0b46a3fe02 [file] [log] [blame]
Fix ``test_re.test_locale_flag()``: use ``locale.getpreferredencoding()``
rather than ``locale.getlocale()`` to get the locale encoding. With some
locales, ``locale.getlocale()`` returns the wrong encoding.