gh-81793: Skip tests for os.link() to symlink on Android (GH-133388)

This commit is contained in:
Serhiy Storchaka 2025-05-04 21:48:06 +03:00 committed by GitHub
parent 0a1fedb70b
commit 95d2a81ba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1522,6 +1522,7 @@ class PosixTester(unittest.TestCase):
os.close(os.pidfd_open(os.getpid(), 0))
@unittest.skipUnless(hasattr(os, "link"), "test needs os.link()")
@support.skip_android_selinux('hard links to symbolic links')
def test_link_follow_symlinks(self):
default_follow = sys.platform.startswith(
('darwin', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'sunos5'))