diff options
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r-- | Lib/test/test_posix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index b6a07f214fa..0817d0a87a3 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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')) |