Skip to content

Commit 153421c

Browse files
committed
WIP object tests
1 parent e0d931e commit 153421c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

zarr/tests/test_core.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,12 @@ def test_dtypes(self):
864864
with assert_raises(ValueError):
865865
self.create_array(shape=10, dtype='timedelta64[{}]'.format(resolution))
866866

867+
def test_object_arrays(self):
868+
869+
# an object_codec is required for object arrays
870+
with assert_raises(ValueError):
871+
self.create_array(shape=10, chunks=3, dtype=object)
872+
867873

868874
class TestArrayWithPath(TestArray):
869875

0 commit comments

Comments
 (0)