https://github.com/python/cpython/commit/6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b
commit: 6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b
branch: main
author: Furkan Onder <[email protected]>
committer: encukou <[email protected]>
date: 2025-10-06T11:38:01+02:00
summary:

gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625)

files:
M Lib/test/test_strptime.py

diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py
index d12816c90840ad..40e114aada67eb 100644
--- a/Lib/test/test_strptime.py
+++ b/Lib/test/test_strptime.py
@@ -570,7 +570,7 @@ def test_date_locale(self):
     def test_date_locale2(self):
         # Test %x directive
         loc = locale.getlocale(locale.LC_TIME)[0]
-        if sys.platform.startswith('sunos'):
+        if sys.platform.startswith(('sunos', 'aix')):
             if loc in ('en_US', 'de_DE', 'ar_AE'):
                 self.skipTest(f'locale {loc!r} may not work on this platform')
         self.roundtrip('%x', slice(0, 3), (1900, 1, 1, 0, 0, 0, 0, 1, 0))

_______________________________________________
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