Skip to content

Commit bad1026

Browse files
furkanondermiss-islington
authored andcommitted
pythongh-139624: Skip problematic locales on AIX in test_date_locale2 (pythonGH-139625)
(cherry picked from commit 6f3dae0) Co-authored-by: Furkan Onder <[email protected]>
1 parent d3a4e06 commit bad1026

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
@@ -566,7 +566,7 @@ def test_date_locale(self):
566566
def test_date_locale2(self):
567567
# Test %x directive
568568
loc = locale.getlocale(locale.LC_TIME)[0]
569-
if sys.platform.startswith('sunos'):
569+
if sys.platform.startswith(('sunos', 'aix')):
570570
if loc in ('en_US', 'de_DE', 'ar_AE'):
571571
self.skipTest(f'locale {loc!r} may not work on this platform')
572572
self.roundtrip('%x', slice(0, 3), (1900, 1, 1, 0, 0, 0, 0, 1, 0))

0 commit comments

Comments
 (0)