We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20c43d commit 716c060Copy full SHA for 716c060
Lib/test/test__locale.py
@@ -209,8 +209,8 @@ def test_alt_digits_nl_langinfo(self):
209
with self.subTest(locale=loc):
210
alt_digits = nl_langinfo(locale.ALT_DIGITS)
211
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')
+ 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')
214
self.assertEqual(len(alt_digits), count)
215
for i in samples:
216
self.assertEqual(alt_digits[i], samples[i])
0 commit comments