We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2170389 commit 7fd4b14Copy full SHA for 7fd4b14
tests/test_properties.py
@@ -7,7 +7,7 @@
7
8
import hypothesis.extra.numpy as npst
9
import hypothesis.strategies as st
10
-from hypothesis import given
+from hypothesis import assume, given
11
12
from zarr.abc.store import Store
13
from zarr.core.metadata import ArrayV2Metadata, ArrayV3Metadata
@@ -53,6 +53,7 @@ def test_oindex(data: st.DataObject) -> None:
53
actual = zarray.oindex[zindexer]
54
assert_array_equal(nparray[npindexer], actual)
55
56
+ assume(zarray.shards is None) # GH2834
57
new_data = data.draw(npst.arrays(shape=st.just(actual.shape), dtype=nparray.dtype))
58
nparray[npindexer] = new_data
59
zarray.oindex[zindexer] = new_data
0 commit comments