mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625)
This commit is contained in:
parent
a9b0506d8d
commit
6f3dae0dc5
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ def test_date_locale(self):
|
|||
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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue