]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452)
authorRussell Keith-Magee <russell@keith-magee.com>
Tue, 30 Apr 2024 23:32:37 +0000 (07:32 +0800)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2024 23:32:37 +0000 (19:32 -0400)
Lib/test/test_posix.py

index 1d22869046fd124eb0b30d0d48397c9a785ea5cf..7e5f04c22bd6d3173c4f030b57ccb93cd7c420d9 100644 (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)