]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-81793: Skip tests for os.link() to symlink on Android (GH-133388)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 4 May 2025 18:48:06 +0000 (21:48 +0300)
committerGitHub <noreply@github.com>
Sun, 4 May 2025 18:48:06 +0000 (21:48 +0300)
Lib/test/test_posix.py

index bb18e49c9e3f8212cf67642980514a8ac3a985f7..b6a07f214fad49efd1e4993766c45ecc8a9ce97f 100644 (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'))