gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452)

This commit is contained in:
Russell Keith-Magee 2024-05-01 07:32:37 +08:00 committed by GitHub
parent 7fabcc727d
commit 9c468e2c5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -564,6 +564,7 @@ class PosixTester(unittest.TestCase):
@unittest.skipUnless(hasattr(posix, 'confstr'),
'test needs posix.confstr()')
@unittest.skipIf(support.is_apple_mobile, "gh-118201: Test is flaky on iOS")
def test_confstr(self):
self.assertRaises(ValueError, posix.confstr, "CS_garbage")
self.assertEqual(len(posix.confstr("CS_PATH")) > 0, True)