From 95d2a81ba8eec6d3f5ddad9d54c7988e178d5961 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 4 May 2025 21:48:06 +0300 Subject: gh-81793: Skip tests for os.link() to symlink on Android (GH-133388) --- 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 bb18e49..b6a07f2 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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')) -- cgit v0.12