From 4f93e918510bfa46bcd44f2b374e0183d054adf5 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 4 May 2025 20:54:46 +0300 Subject: [PATCH] gh-81793: Skip tests for os.link() to symlink on Android --- Lib/test/test_posix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index bb18e49c9e3f82..b6a07f214fad49 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -1522,6 +1522,7 @@ def test_pidfd_open(self): 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'))