summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2024-04-30 23:32:37 (GMT)
committerGitHub <noreply@github.com>2024-04-30 23:32:37 (GMT)
commit9c468e2c5dffb6fa9811fd16e70fa0463bdfce5f (patch)
treed29eac6443bb0d6dd1adb12ab806d837355e0c93
parent7fabcc727dee52a3e0dfe4f903ad414e93cf2dc9 (diff)
downloadcpython-9c468e2c5dffb6fa9811fd16e70fa0463bdfce5f.zip
cpython-9c468e2c5dffb6fa9811fd16e70fa0463bdfce5f.tar.gz
cpython-9c468e2c5dffb6fa9811fd16e70fa0463bdfce5f.tar.bz2
gh-118201 - Disable the flaky POSIX test_confstr test on iOS (GH-118452)
-rw-r--r--Lib/test/test_posix.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 1d22869..7e5f04c 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)