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 4e9570c commit 41c6cd3Copy full SHA for 41c6cd3
xarray_array_testing/indexing.py
@@ -13,6 +13,7 @@ def scalar_indexer(size):
13
14
@st.composite
15
def indexers(draw, sizes, indexer_strategy_fn):
16
+ # TODO: make use of `flatmap` and `builds` instead of `composite`
17
possible_indexers = {dim: indexer_strategy_fn(size) for dim, size in sizes.items()}
18
indexers = draw(xrst.unique_subset_of(possible_indexers))
19
return {dim: draw(indexer) for dim, indexer in indexers.items()}
0 commit comments