File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -1399,7 +1399,7 @@ def test_ascii_and_unicode_flag(self):
13991399
14001400 def test_locale_flag (self ):
14011401 import locale
1402- enc = locale .getpreferredencoding ( False )
1402+ _ , enc = locale .getlocale ( locale . LC_CTYPE )
14031403 # Search non-ASCII letter
14041404 for i in range (128 , 256 ):
14051405 try :
Original file line number Diff line number Diff line change @@ -911,15 +911,6 @@ Tools/Demos
911911Tests
912912-----
913913
914- - bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS.
915- Skip some tests of select.poll when running on macOS due to unresolved
916- issues with the underlying system poll function on some macOS versions.
917-
918- - Issue #29571: to match the behaviour of the ``re.LOCALE`` flag,
919- test_re.test_locale_flag now uses ``locale.getpreferredencoding(False)`` to
920- determine the candidate encoding for the test regex (allowing it to correctly
921- skip the test when the default locale encoding is a multi-byte encoding)
922-
923914- Issue #24932: Use proper command line parsing in _testembed
924915
925916- Issue #28950: Disallow -j0 to be combined with -T/-l in regrtest
You can’t perform that action at this time.
0 commit comments