8000 gh-124969: Skip the test for ALT_DIGITS also on iOS (#125177) · python/cpython@9ad55e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ad55e8

Browse files
gh-124969: Skip the test for ALT_DIGITS also on iOS (#125177)
Skip the locale.ALT_DIGITS test on all Apple platforms, not just macOS.
1 parent c7d5d1d commit 9ad55e8

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)
0