gh-118201: Simplify conv_confname (#126089)

This commit is contained in:
Malcolm Smith 2024-11-19 15:42:19 +00:00 committed by GitHub
parent 5fcc3a4cee
commit c5c9286804
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 89 additions and 113 deletions

View file

@ -2447,8 +2447,8 @@ 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.assertIn("PC_NAME_MAX", os.pathconf_names)
self.check(os.pathconf, "PC_NAME_MAX")
self.check(os.fpathconf, "PC_NAME_MAX")
self.check_bool(os.pathconf, "PC_NAME_MAX")