Skip to content

Commit 95d2a81

Browse files
gh-81793: Skip tests for os.link() to symlink on Android (GH-133388)
1 parent 0a1fedb commit 95d2a81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_posix.py

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy