From: Serhiy Storchaka Date: Sun, 4 May 2025 18:48:06 +0000 (+0300) Subject: gh-81793: Skip tests for os.link() to symlink on Android (GH-133388) X-Git-Tag: v3.14.0b1~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95d2a81ba8eec6d3f5ddad9d54c7988e178d5961;p=thirdparty%2FPython%2Fcpython.git gh-81793: Skip tests for os.link() to symlink on Android (GH-133388) --- diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index bb18e49c9e3f..b6a07f214fad 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'))