MCPcopy Create free account
hub / github.com/pydata/xarray / test_iterable

Method test_iterable

xarray/tests/test_strategies.py:258–262  ·  view source on GitHub ↗
(self, data, dim_names)

Source from the content-addressed store, hash-verified

256
257 @given(st.data(), dimension_names(min_dims=1))
258 def test_iterable(self, data, dim_names):
259 subset_of_dim_names = data.draw(unique_subset_of(dim_names))
260
261 for dim in subset_of_dim_names:
262 assert dim in dim_names
263
264
265class TestReduction:

Callers

nothing calls this directly

Calls 1

unique_subset_ofFunction · 0.90

Tested by

no test coverage detected