Skip to content

Commit 2eabfe8

Browse files
committed
fix test and coverage failures
1 parent ba4061f commit 2eabfe8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

requirements_dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ idna==2.6
1515
mccabe==0.6.1
1616
monotonic==1.3
1717
msgpack-python==0.4.8
18+
nose==1.3.7
1819
numcodecs==0.5.2
1920
numpy==1.13.3
2021
packaging==16.8

zarr/tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ def test_nbytes_stored(self):
12721272

12731273
try:
12741274
import lmdb
1275-
except ImportError:
1275+
except ImportError: # pragma: no cover
12761276
lmdb = None
12771277

12781278

zarr/tests/test_hierarchy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def create_store():
905905

906906
try:
907907
import lmdb
908-
except ImportError:
908+
except ImportError: # pragma: no cover
909909
lmdb = None
910910

911911

zarr/tests/test_storage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,6 @@ def create_store(self):
793793
except ImportError: # pragma: no cover
794794
ndbm = None
795795

796-
797796
@pytest.mark.skipif(ndbm is None, reason='ndbm is not installed')
798797
class TestDBMStoreNDBM(TestDBMStore):
799798

@@ -822,7 +821,7 @@ def create_store(self):
822821

823822
try:
824823
import lmdb
825-
except ImportError:
824+
except ImportError: # pragma: no cover
826825
lmdb = None
827826

828827

0 commit comments

Comments
 (0)