Skip to content

Commit b749800

Browse files
serhiy-storchakamiss-islington
authored andcommitted
gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652)
(cherry picked from commit 1b8dcda) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 146a37b commit b749800

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

0 commit comments

Comments
 (0)