MCPcopy Index your code
hub / github.com/pydata/xarray / test_1d

Method test_1d

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

Source from the content-addressed store, hash-verified

42
43class TestTileIDsFromNestedList:
44 def test_1d(self):
45 ds = create_test_data
46 input = [ds(0), ds(1)]
47
48 expected = {(0,): ds(0), (1,): ds(1)}
49 actual: dict[tuple[int, ...], Dataset] = _infer_concat_order_from_positions(
50 input
51 )
52 assert_combined_tile_ids_equal(expected, actual)
53
54 def test_2d(self):
55 ds = create_test_data

Callers

nothing calls this directly

Calls 3

dsFunction · 0.70

Tested by

no test coverage detected