mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
This reverts commit ace5c0fdd9
.
This commit is contained in:
parent
ad4a0cc519
commit
21a74312f2
2 changed files with 1 additions and 10 deletions
|
@ -1399,7 +1399,7 @@ class ReTests(unittest.TestCase):
|
|||
|
||||
def test_locale_flag(self):
|
||||
import locale
|
||||
enc = locale.getpreferredencoding(False)
|
||||
_, enc = locale.getlocale(locale.LC_CTYPE)
|
||||
# Search non-ASCII letter
|
||||
for i in range(128, 256):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue