Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
21a74312
Commit
21a74312
authored
Mar 07, 2017
by
Benjamin Peterson
Committed by
GitHub
Mar 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554)
This reverts commit
ace5c0fd
.
parent
ad4a0cc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
Lib/test/test_re.py
Lib/test/test_re.py
+1
-1
Misc/NEWS
Misc/NEWS
+0
-9
No files found.
Lib/test/test_re.py
View file @
21a74312
...
...
@@ -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:
...
...
Misc/NEWS
View file @
21a74312
...
...
@@ -911,15 +911,6 @@ Tools/Demos
Tests
-----
-
bpo
-
28087
:
Skip
test_asyncore
and
test_eintr
poll
failures
on
macOS
.
Skip
some
tests
of
select
.
poll
when
running
on
macOS
due
to
unresolved
issues
with
the
underlying
system
poll
function
on
some
macOS
versions
.
-
Issue
#
29571
:
to
match
the
behaviour
of
the
``
re
.
LOCALE
``
flag
,
test_re
.
test_locale_flag
now
uses
``
locale
.
getpreferredencoding
(
False
)``
to
determine
the
candidate
encoding
for
the
test
regex
(
allowing
it
to
correctly
skip
the
test
when
the
default
locale
encoding
is
a
multi
-
byte
encoding
)
-
Issue
#
24932
:
Use
proper
command
line
parsing
in
_testembed
-
Issue
#
28950
:
Disallow
-
j0
to
be
combined
with
-
T
/-
l
in
regrtest
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment