MCPcopy
hub / github.com/pydata/xarray / test_check_depths

Method test_check_depths

xarray/tests/test_combine.py:377–383  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

375
376class TestCheckShapeTileIDs:
377 def test_check_depths(self):
378 ds = create_test_data(0)
379 combined_tile_ids = {(0,): ds, (0, 1): ds}
380 with pytest.raises(
381 ValueError, match=r"sub-lists do not have consistent depths"
382 ):
383 _check_shape_tile_ids(combined_tile_ids)
384
385 def test_check_lengths(self):
386 ds = create_test_data(0)

Callers

nothing calls this directly

Calls 2

_check_shape_tile_idsFunction · 0.90
create_test_dataFunction · 0.85

Tested by

no test coverage detected