Skip to content

Commit 0660d22

Browse files
serhiy-storchakamiss-islington
authored andcommitted
pythongh-130567: Enable previously skipped locale tests on FreeBSD and macOS (pythonGH-138652)
(cherry picked from commit 1b8dcda) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 6260b6a commit 0660d22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_locale.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ def setUp(self):
345345
enc = codecs.lookup(locale.getencoding() or 'ascii').name
346346
if enc not in ('utf-8', 'iso8859-1', 'cp1252'):
347347
raise unittest.SkipTest('encoding not suitable')
348-
if enc != 'iso8859-1' and (sys.platform == 'darwin' or is_android or
349-
sys.platform.startswith('freebsd')):
348+
if enc != 'iso8859-1' and is_android:
350349
raise unittest.SkipTest('wcscoll/wcsxfrm have known bugs')
351350
BaseLocalizedTest.setUp(self)
352351

0 commit comments

Comments
 (0)