summaryrefslogtreecommitdiff
path: root/kazoo/tests/test_threading_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'kazoo/tests/test_threading_handler.py')
-rw-r--r--kazoo/tests/test_threading_handler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kazoo/tests/test_threading_handler.py b/kazoo/tests/test_threading_handler.py
index 664c444..7799787 100644
--- a/kazoo/tests/test_threading_handler.py
+++ b/kazoo/tests/test_threading_handler.py
@@ -45,7 +45,10 @@ class TestThreadingHandler(unittest.TestCase):
assert h._running is False
def test_huge_file_descriptor(self):
- import resource
+ try:
+ import resource
+ except ImportError:
+ self.skipTest("resource module unavailable on this platform")
import socket
from kazoo.handlers.utils import create_tcp_socket