Skip to content

Commit 52c0738

Browse files
[3.13] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139645)
(cherry picked from commit 6f3dae0) Co-authored-by: Furkan Onder <[email protected]>
1 parent d3a4e06 commit 52c0738

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)