Skip to content

Commit

Permalink
Skip the test also on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Oct 9, 2024
1 parent d20c43d commit 88ef919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test__locale.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ def test_alt_digits_nl_langinfo(self):
with self.subTest(locale=loc):
alt_digits = nl_langinfo(locale.ALT_DIGITS)
self.assertIsInstance(alt_digits, tuple)
if count and not alt_digits and sys.platform == 'darwin':
self.skipTest(f'ALT_DIGITS is not set for locale {loc!r} on macOS')
if count and not alt_digits and support.is_apple:
self.skipTest(f'ALT_DIGITS is not set for locale {loc!r} on Apple platforms')
self.assertEqual(len(alt_digits), count)
for i in samples:
self.assertEqual(alt_digits[i], samples[i])
Expand Down

0 comments on commit 88ef919

Please sign in to comment.