File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 55
66import hypothesis .extra .numpy as npst
77import hypothesis .strategies as st
8- from hypothesis import assume , given
8+ from hypothesis import given
99
1010from zarr .testing .strategies import (
1111 arrays ,
@@ -69,12 +69,11 @@ def test_vindex(data: st.DataObject) -> None:
6969
7070 # FIXME!
7171 # when the indexer is such that a value gets overwritten multiple times,
72- # I think the output depends on chunking. Honestly I don't know why the 1D indexer works.
73- assume (indexer [0 ].ndim == 1 )
74- new_data = data .draw (npst .arrays (shape = st .just (actual .shape ), dtype = nparray .dtype ))
75- nparray [indexer ] = new_data
76- zarray .vindex [indexer ] = new_data
77- assert_array_equal (nparray , zarray [:])
72+ # I think the output depends on chunking.
73+ # new_data = data.draw(npst.arrays(shape=st.just(actual.shape), dtype=nparray.dtype))
74+ # nparray[indexer] = new_data
75+ # zarray.vindex[indexer] = new_data
76+ # assert_array_equal(nparray, zarray[:])
7877
7978
8079# @st.composite
You can’t perform that action at this time.
0 commit comments