mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-81793: Skip tests for os.link() to symlink on Android (GH-133388)
This commit is contained in:
parent
0a1fedb70b
commit
95d2a81ba8
1 changed files with 1 additions and 0 deletions
|
@ -1522,6 +1522,7 @@ class PosixTester(unittest.TestCase):
|
||||||
os.close(os.pidfd_open(os.getpid(), 0))
|
os.close(os.pidfd_open(os.getpid(), 0))
|
||||||
|
|
||||||
@unittest.skipUnless(hasattr(os, "link"), "test needs os.link()")
|
@unittest.skipUnless(hasattr(os, "link"), "test needs os.link()")
|
||||||
|
@support.skip_android_selinux('hard links to symbolic links')
|
||||||
def test_link_follow_symlinks(self):
|
def test_link_follow_symlinks(self):
|
||||||
default_follow = sys.platform.startswith(
|
default_follow = sys.platform.startswith(
|
||||||
('darwin', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'sunos5'))
|
('darwin', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'sunos5'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue