[3.13] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139645)

(cherry picked from commit 6f3dae0dc5)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
Miss Islington (bot) 2025-10-06 12:49:50 +02:00 committed by GitHub
parent d3a4e0608b
commit 52c0738700
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -566,7 +566,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))