mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-81793: Replace skip decorators with specific helpers (GH-133493)
This commit is contained in:
parent
6a8f6eddd3
commit
5b07c6eb89
1 changed files with 2 additions and 2 deletions
|
@ -1521,8 +1521,8 @@ class PosixTester(unittest.TestCase):
|
|||
self.assertEqual(cm.exception.errno, errno.EINVAL)
|
||||
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')
|
||||
@os_helper.skip_unless_hardlink
|
||||
@os_helper.skip_unless_symlink
|
||||
def test_link_follow_symlinks(self):
|
||||
default_follow = sys.platform.startswith(
|
||||
('darwin', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'sunos5'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue