From c7437435a2a1b6cfceb329fa241a238f20089765 Mon Sep 17 00:00:00 2001 From: Furkan Onder Date: Mon, 6 Oct 2025 09:38:01 +0000 Subject: [PATCH] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (cherry picked from commit 6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b) Co-authored-by: Furkan Onder --- Lib/test/test_strptime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py index 0241e543cd7dde..e277e7f4ef7b1a 100644 --- a/Lib/test/test_strptime.py +++ b/Lib/test/test_strptime.py @@ -557,7 +557,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))