Skip to content

Commit 4f93e91

Browse files
gh-81793: Skip tests for os.link() to symlink on Android
1 parent 8eaaf16 commit 4f93e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_posix.py

+1
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,7 @@ def test_pidfd_open(self):
15221522
os.close(os.pidfd_open(os.getpid(), 0))
15231523

15241524
@unittest.skipUnless(hasattr(os, "link"), "test needs os.link()")
1525+
@support.skip_android_selinux('hard links to symbolic links')
15251526
def test_link_follow_symlinks(self):
15261527
default_follow = sys.platform.startswith(
15271528
('darwin', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'sunos5'))

0 commit comments

Comments
 (0)