File tree 2 files changed +1
-10
lines changed
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):
1399
1399
1400
1400
def test_locale_flag (self ):
1401
1401
import locale
1402
- enc = locale .getpreferredencoding ( False )
1402
+ _ , enc = locale .getlocale ( locale . LC_CTYPE )
1403
1403
# Search non-ASCII letter
1404
1404
for i in range (128 , 256 ):
1405
1405
try :
Original file line number Diff line number Diff line change @@ -911,15 +911,6 @@ Tools/Demos
911
911
Tests
912
912
-----
913
913
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
-
923
914
- Issue #24932: Use proper command line parsing in _testembed
924
915
925
916
- Issue #28950: Disallow -j0 to be combined with -T/-l in regrtest
You can’t perform that action at this time.
0 commit comments