Skip to content

Commit

Permalink
gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452)
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Apr 30, 2024
1 parent 7fabcc7 commit 9c468e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ def test_dup(self):

@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)
Expand Down

0 comments on commit 9c468e2

Please sign in to comment.