Skip to content

Commit b87b653

Browse files
committed
[3.11] pythongh-118201 - Disable the flaky POSIX test_confstr test on iOS (pythonGH-118452)
1 parent db43eef commit b87b653

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
@@ -561,6 +561,7 @@ def test_dup(self):
561561

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

0 commit comments

Comments
 (0)