From: Furkan Onder Date: Mon, 6 Oct 2025 09:38:01 +0000 (+0000) Subject: gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) X-Git-Tag: v3.15.0a1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b;p=thirdparty%2FPython%2Fcpython.git gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) --- diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py index d12816c90840..40e114aada67 100644 --- a/Lib/test/test_strptime.py +++ b/Lib/test/test_strptime.py @@ -570,7 +570,7 @@ class StrptimeTests(unittest.TestCase): 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))