summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 59a2d63c8f..4965786ef9 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1352,6 +1352,7 @@ class SendfileTestServer(asyncore.dispatcher, threading.Thread):
raise
+@unittest.skipUnless(threading is not None, "test needs threading module")
@unittest.skipUnless(hasattr(os, 'sendfile'), "test needs os.sendfile()")
class TestSendfile(unittest.TestCase):