diff --git a/tests/test_kvstore.py b/tests/test_kvstore.py
index <HASH>..<HASH> 100644
--- a/tests/test_kvstore.py
+++ b/tests/test_kvstore.py
@@ -176,6 +176,13 @@ class KVStoreBase(object):
 class TestBsddbStore(unittest.TestCase, KVStoreBase):
     DB = "tests.test_bsddb_store"
 
+    @classmethod
+    def setUpClass(cls):
+        try:
+            import bsddb
+        except ImportError:
+            raise unittest.SkipTest("bsddb not installed")
+
     def setUp(self):
         self.store = cobe.kvstore.BsddbStore(self.DB)
Skip BsddbStore tests if bsddb is missing or broken (as on OSX)