Sign in
chromium
/
external
/
github.com
/
python
/
cpython
/
a6fbc4e25e1dc7d1c9a26888b9115bc6c2afc101
/
.
/
Misc
/
NEWS.d
/
next
/
Tests
/
2019-02-28-18-33-29.bpo-29571.r6b9fr.rst
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
.