https://github.com/python/cpython/commit/f0f0566292fd4f6253ae98e2dea135a6a27eac27
commit: f0f0566292fd4f6253ae98e2dea135a6a27eac27
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: encukou <[email protected]>
date: 2025-10-07T22:11:34+02:00
summary:

[3.14] gh-130567: Enable previously skipped locale tests on FreeBSD and macOS 
(GH-138652) (GH-139421)

(cherry picked from commit 1b8dcdacc75caa8175f89c7e739e45d856ebf511)

Co-authored-by: Serhiy Storchaka <[email protected]>

files:
M Lib/test/test_locale.py

diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index 698e137e3e8abd..8e49aa8954ee0d 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -350,8 +350,7 @@ def setUp(self):
         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)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to