summaryrefslogtreecommitdiff
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 660691579c..4800291023 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -2203,6 +2203,7 @@ class TestInvalidFD(unittest.TestCase):
self.check(os.set_blocking, True)
+@unittest.skipUnless(hasattr(os, 'link'), 'requires os.link')
class LinkTests(unittest.TestCase):
def setUp(self):
self.file1 = os_helper.TESTFN