gh-118201: Accomodate flaky behavior of os.sysconf on iOS (GH-118453)

This commit is contained in:
Russell Keith-Magee 2024-05-01 10:31:00 +08:00 committed by GitHub
parent 7d83f7bcc4
commit 21336aa127
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -2365,6 +2365,7 @@ class TestInvalidFD(unittest.TestCase):
support.is_emscripten or support.is_wasi,
"musl libc issue on Emscripten/WASI, bpo-46390"
)
@unittest.skipIf(support.is_apple_mobile, "gh-118201: Test is flaky on iOS")
def test_fpathconf(self):
self.check(os.pathconf, "PC_NAME_MAX")
self.check(os.fpathconf, "PC_NAME_MAX")