Skip to content

Commit 965186f

Browse files
committed
[3.10] pythongh-118201 - Disable the flaky POSIX test_confstr test on iOS (pythonGH-118452)
1 parent 9f56cff commit 965186f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_posix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ def test_dup(self):
555555

556556
@unittest.skipUnless(hasattr(posix, 'confstr'),
557557
'test needs posix.confstr()')
558+
@unittest.skipIf(support.is_apple_mobile, "gh-118201: Test is flaky on iOS")
558559
def test_confstr(self):
559560
self.assertRaises(ValueError, posix.confstr, "CS_garbage")
560561
self.assertEqual(len(posix.confstr("CS_PATH")) > 0, True)

0 commit comments

Comments
 (0)