@@ -2039,10 +2039,9 @@ def test_nbytes_stored(self):
2039
2039
2040
2040
2041
2041
class TestArrayWithDBMStoreBerkeleyDB (TestArray ):
2042
-
2043
2042
def __init__ (self ):
2044
2043
# Skip warning tests as well
2045
- bsddb3 = pytest .importorskip ("bsddb3" )
2044
+ pytest .importorskip ("bsddb3" )
2046
2045
2047
2046
def create_store (self ):
2048
2047
bsddb3 = pytest .importorskip ("bsddb3" )
@@ -2056,6 +2055,10 @@ def test_nbytes_stored(self):
2056
2055
2057
2056
2058
2057
class TestArrayWithLMDBStore (TestArray ):
2058
+ def __init__ (self ):
2059
+ # Skip warning tests as well
2060
+ pytest .importorskip ("lmdb" )
2061
+
2059
2062
def create_store (self ):
2060
2063
pytest .importorskip ("lmdb" )
2061
2064
path = mktemp (suffix = ".lmdb" )
@@ -2071,6 +2074,10 @@ def test_nbytes_stored(self):
2071
2074
2072
2075
2073
2076
class TestArrayWithLMDBStoreNoBuffers (TestArray ):
2077
+ def __init__ (self ):
2078
+ # Skip warning tests as well
2079
+ pytest .importorskip ("lmdb" )
2080
+
2074
2081
def create_store (self ):
2075
2082
pytest .importorskip ("lmdb" )
2076
2083
path = mktemp (suffix = ".lmdb" )
@@ -2083,6 +2090,10 @@ def test_nbytes_stored(self):
2083
2090
2084
2091
2085
2092
class TestArrayWithSQLiteStore (TestArray ):
2093
+ def __init__ (self ):
2094
+ # Skip warning tests as well
2095
+ pytest .importorskip ("sqlite3" )
2096
+
2086
2097
def create_store (self ):
2087
2098
pytest .importorskip ("sqlite3" )
2088
2099
path = mktemp (suffix = ".db" )
0 commit comments