Skip to content

Commit 3c14df6

Browse files
committed
[3.9] pythongh-118201: Accomodate flaky behavior of os.sysconf on iOS (pythonGH-118453)
1 parent e0ecabf commit 3c14df6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_os.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,7 @@ def test_fchown(self):
20222022
self.check(os.fchown, -1, -1)
20232023

20242024
@unittest.skipUnless(hasattr(os, 'fpathconf'), 'test needs os.fpathconf()')
2025+
@unittest.skipIf(support.is_apple_mobile, "gh-118201: Test is flaky on iOS")
20252026
def test_fpathconf(self):
20262027
self.check(os.pathconf, "PC_NAME_MAX")
20272028
self.check(os.fpathconf, "PC_NAME_MAX")

0 commit comments

Comments
 (0)