Skip to content

Commit 716c060

Browse files
gh-124969: Skip the test for ALT_DIGITS also on iOS
1 parent d20c43d commit 716c060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test__locale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def test_alt_digits_nl_langinfo(self):
209209
with self.subTest(locale=loc):
210210
alt_digits = nl_langinfo(locale.ALT_DIGITS)
211211
self.assertIsInstance(alt_digits, tuple)
212-
if count and not alt_digits and sys.platform == 'darwin':
213-
self.skipTest(f'ALT_DIGITS is not set for locale {loc!r} on macOS')
212+
if count and not alt_digits and support.is_apple:
213+
self.skipTest(f'ALT_DIGITS is not set for locale {loc!r} on Apple platforms')
214214
self.assertEqual(len(alt_digits), count)
215215
for i in samples:
216216
self.assertEqual(alt_digits[i], samples[i])

0 commit comments

Comments
 (0)