Skip to content

Commit 4857a67

Browse files
committed
more cleanup
1 parent 5d6d8d6 commit 4857a67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/zarr/testing/strategies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,14 @@ def arrays(
110110
array_path,
111111
shape=nparray.shape,
112112
chunks=chunks,
113-
dtype=nparray.dtype.str,
113+
dtype=nparray.dtype,
114114
attributes=attributes,
115115
# compressor=compressor, # TODO: FIXME
116116
fill_value=fill_value,
117117
)
118118

119119
assert isinstance(a, Array)
120+
assert isinstance(root[array_path], Array)
120121
assert nparray.shape == a.shape
121122
assert chunks == a.chunks
122123
assert array_path == a.path, (path, name, array_path, a.name, a.path)

0 commit comments

Comments
 (0)