From: Russell Keith-Magee Date: Tue, 30 Apr 2024 23:32:37 +0000 (+0800) Subject: gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452) X-Git-Tag: v3.13.0b1~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c468e2c5dffb6fa9811fd16e70fa0463bdfce5f;p=thirdparty%2FPython%2Fcpython.git gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452) --- diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 1d22869046fd..7e5f04c22bd6 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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)