Skip to content

Commit 6f3dae0

Browse files
authored
gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625)
1 parent a9b0506 commit 6f3dae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_strptime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def test_date_locale(self):
570570
def test_date_locale2(self):
571571
# Test %x directive
572572
loc = locale.getlocale(locale.LC_TIME)[0]
573-
if sys.platform.startswith('sunos'):
573+
if sys.platform.startswith(('sunos', 'aix')):
574574
if loc in ('en_US', 'de_DE', 'ar_AE'):
575575
self.skipTest(f'locale {loc!r} may not work on this platform')
576576
self.roundtrip('%x', slice(0, 3), (1900, 1, 1, 0, 0, 0, 0, 1, 0))

0 commit comments

Comments
 (0)