Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) (#555)

This reverts commit ace5c0fdd9.
This commit is contained in:
Benjamin Peterson 2017-03-07 23:56:59 -08:00 committed by GitHub
parent 78ad039bcf
commit 6a4b04cd33
2 changed files with 2 additions and 1 deletions

View file

@ -1402,7 +1402,7 @@ class ReTests(unittest.TestCase):
def test_locale_flag(self): def test_locale_flag(self):
import locale import locale
enc = locale.getpreferredencoding(False) _, enc = locale.getlocale(locale.LC_CTYPE)
# Search non-ASCII letter # Search non-ASCII letter
for i in range(128, 256): for i in range(128, 256):
try: try:

View file

@ -134,6 +134,7 @@ Library
- bpo-29110: Fix file object leak in aifc.open() when file is given as a - bpo-29110: Fix file object leak in aifc.open() when file is given as a
filesystem path and is not in valid AIFF format. Patch by Anthony Zhang. filesystem path and is not in valid AIFF format. Patch by Anthony Zhang.
- Issue #24932: Use proper command line parsing in _testembed
- Issue #28556: Various updates to typing module: typing.Counter, typing.ChainMap, - Issue #28556: Various updates to typing module: typing.Counter, typing.ChainMap,
improved ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, improved ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi,