Skip to content

Commit 5b07c6e

Browse files
authored
pythongh-81793: Replace skip decorators with specific helpers (pythonGH-133493)
1 parent 6a8f6ed commit 5b07c6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_posix.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1521,8 +1521,8 @@ def test_pidfd_open(self):
15211521
self.assertEqual(cm.exception.errno, errno.EINVAL)
15221522
os.close(os.pidfd_open(os.getpid(), 0))
15231523

1524-
@unittest.skipUnless(hasattr(os, "link"), "test needs os.link()")
1525-
@support.skip_android_selinux('hard links to symbolic links')
1524+
@os_helper.skip_unless_hardlink
1525+
@os_helper.skip_unless_symlink
15261526
def test_link_follow_symlinks(self):
15271527
default_follow = sys.platform.startswith(
15281528
('darwin', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'sunos5'))

0 commit comments

Comments
 (0)