Skip to content

Commit 584762b

Browse files
committed
fix mypy in test_array.py
1 parent 300d03a commit 584762b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def test_resize_1d(store: MemoryStore, zarr_format: ZarrFormat) -> None:
656656
a = np.arange(105, dtype="i4")
657657
z[:] = a
658658
assert (105,) == z.shape
659-
assert isinstance(z[:], NDArrayLike)
659+
assert hasattr(z[:], "shape") and hasattr(z[:], "dtype")
660660
assert (105,) == z[:].shape
661661
assert np.dtype("i4") == z.dtype
662662
assert np.dtype("i4") == z[:].dtype

0 commit comments

Comments
 (0)