Skip to content

Commit 98d33bf

Browse files
miss-islingtonfurkanonderencukou
authored
[3.14] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139644)
(cherry picked from commit 6f3dae0) Co-authored-by: Furkan Onder <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
1 parent 7a1a79d commit 98d33bf

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
@@ -557,7 +557,7 @@ def test_date_locale(self):
557557
def test_date_locale2(self):
558558
# Test %x directive
559559
loc = locale.getlocale(locale.LC_TIME)[0]
560-
if sys.platform.startswith('sunos'):
560+
if sys.platform.startswith(('sunos', 'aix')):
561561
if loc in ('en_US', 'de_DE', 'ar_AE'):
562562
self.skipTest(f'locale {loc!r} may not work on this platform')
563563
self.roundtrip('%x', slice(0, 3), (1900, 1, 1, 0, 0, 0, 0, 1, 0))

0 commit comments

Comments
 (0)