Skip to content

Commit f0f0566

Browse files
[3.14] gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) (GH-139421)
(cherry picked from commit 1b8dcda) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 1037665 commit f0f0566

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
@@ -350,8 +350,7 @@ def setUp(self):
350350
enc = codecs.lookup(locale.getencoding() or 'ascii').name
351351
if enc not in ('utf-8', 'iso8859-1', 'cp1252'):
352352
raise unittest.SkipTest('encoding not suitable')
353-
if enc != 'iso8859-1' and (sys.platform == 'darwin' or is_android or
354-
sys.platform.startswith('freebsd')):
353+
if enc != 'iso8859-1' and is_android:
355354
raise unittest.SkipTest('wcscoll/wcsxfrm have known bugs')
356355
BaseLocalizedTest.setUp(self)
357356

0 commit comments

Comments
 (0)