Skip to content

Commit f333413

Browse files
committed
remove nose from test_filters
1 parent 8f03a8f commit f333413

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

zarr/tests/test_filters.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55
import numpy as np
66
from numpy.testing import assert_array_equal, assert_array_almost_equal
7-
from nose.tools import eq_ as eq
87

98

10-
from numcodecs import (AsType, Delta, FixedScaleOffset, PackBits, Categorize, Zlib, Blosc, BZ2,
11-
Quantize)
9+
from numcodecs import (AsType, Delta, FixedScaleOffset, PackBits, Categorize, Zlib, Blosc,
10+
BZ2, Quantize)
1211
from zarr.creation import array
1312
from zarr.compat import PY2
1413

@@ -20,7 +19,7 @@
2019
Blosc(),
2120
]
2221

23-
# TODO can we rely on backports and remove PY2 exclusion?
22+
# TODO rely on backports and remove PY2 exclusion
2423
if not PY2: # pragma: py2 no cover
2524
from zarr.codecs import LZMA
2625
compressors.append(LZMA())
@@ -215,7 +214,7 @@ def test_compressor_as_filter():
215214
for i in range(10):
216215
x = bytes(a1.store[str(i)])
217216
y = bytes(a2.store[str(i)])
218-
eq(x, y)
217+
assert x == y
219218

220219
# check data
221220
assert_array_equal(data, a1[:])

0 commit comments

Comments
 (0)