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 77
88import hypothesis .extra .numpy as npst
99import hypothesis .strategies as st
10- from hypothesis import assume , given
10+ from hypothesis import given
1111
1212from zarr .abc .store import Store
1313from zarr .core .metadata import ArrayV2Metadata , ArrayV3Metadata
@@ -75,12 +75,11 @@ def test_vindex(data: st.DataObject) -> None:
7575
7676 # FIXME!
7777 # when the indexer is such that a value gets overwritten multiple times,
78- # I think the output depends on chunking. Honestly I don't know why the 1D indexer works.
79- assume (indexer [0 ].ndim == 1 )
80- new_data = data .draw (npst .arrays (shape = st .just (actual .shape ), dtype = nparray .dtype ))
81- nparray [indexer ] = new_data
82- zarray .vindex [indexer ] = new_data
83- assert_array_equal (nparray , zarray [:])
78+ # I think the output depends on chunking.
79+ # new_data = data.draw(npst.arrays(shape=st.just(actual.shape), dtype=nparray.dtype))
80+ # nparray[indexer] = new_data
81+ # zarray.vindex[indexer] = new_data
82+ # assert_array_equal(nparray, zarray[:])
8483
8584
8685@given (store = stores , meta = array_metadata ()) # type: ignore[misc]
You can’t perform that action at this time.
0 commit comments