Skip to content

Commit c0eacea

Browse files
Tarik Onalanalimanfoo
authored andcommitted
Fix accidental test break
1 parent 1c8e45b commit c0eacea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

zarr/tests/test_core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,10 +1577,6 @@ class TestArrayWithFilters(TestArray):
15771577
def create_array(read_only=False, **kwargs):
15781578
store = dict()
15791579
dtype = kwargs.get('dtype', None)
1580-
# WARN(onalant): this is to compensate for unstructured dtypes
1581-
# should this be in upstream numcodecs?
1582-
if isinstance(dtype, np.dtype):
1583-
dtype = dtype.base
15841580
filters = [
15851581
Delta(dtype=dtype),
15861582
FixedScaleOffset(dtype=dtype, scale=1, offset=0),
@@ -1651,6 +1647,10 @@ def test_astype(self):
16511647
expected = data.astype(astype)
16521648
assert_array_equal(expected, z2)
16531649

1650+
def test_unstructured_array(self):
1651+
# skip this one, cannot do delta on unstructured array
1652+
pass
1653+
16541654
def test_structured_array(self):
16551655
# skip this one, cannot do delta on structured array
16561656
pass

0 commit comments

Comments
 (0)