]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 6 Oct 2025 10:49:50 +0000 (12:49 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Oct 2025 10:49:50 +0000 (13:49 +0300)
(cherry picked from commit 6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Lib/test/test_strptime.py

index efb3ef9c40f9cba374044d35421ccc0446d210ab..5e6cd68b8dbc587fb7f18b7145bfac3c9cb6337e 100644 (file)
@@ -566,7 +566,7 @@ class StrptimeTests(unittest.TestCase):
     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))