Skip to content

Commit 1b8dcda

Browse files
gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652)
1 parent 8bfdda2 commit 1b8dcda

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

0 commit comments

Comments
 (0)