Skip to content

Commit 56c52ae

Browse files
committed
fix test_basic_indexing
1 parent 81ab808 commit 56c52ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/buffer/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __setitem__(self, key: slice, value: Any) -> None:
140140
self._value = value
141141

142142
def __array__(
143-
self, dtype: npt.DTypeLike | None = None, copy: bool | None = None
143+
self, dtype: npt.DTypeLike | None = None, copy: bool | None = True
144144
) -> npt.NDArray[Any]:
145145
return np.array(self._value, dtype=dtype, copy=copy)
146146

0 commit comments

Comments
 (0)