From: Serhiy Storchaka Date: Mon, 29 Sep 2025 15:32:38 +0000 (+0300) Subject: gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) X-Git-Tag: v3.15.0a1~183 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b8dcdacc75caa8175f89c7e739e45d856ebf511;p=thirdparty%2FPython%2Fcpython.git gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) --- diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index 01b1e754d042..d49f78c91da1 100644 --- a/Lib/test/test_locale.py +++ b/Lib/test/test_locale.py @@ -351,8 +351,7 @@ class TestEnUSCollation(BaseLocalizedTest, TestCollation): enc = codecs.lookup(locale.getencoding() or 'ascii').name if enc not in ('utf-8', 'iso8859-1', 'cp1252'): raise unittest.SkipTest('encoding not suitable') - if enc != 'iso8859-1' and (sys.platform == 'darwin' or is_android or - sys.platform.startswith('freebsd')): + if enc != 'iso8859-1' and is_android: raise unittest.SkipTest('wcscoll/wcsxfrm have known bugs') BaseLocalizedTest.setUp(self)