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

Function test_auto_chunk_da

xarray/tests/test_dask.py:1166–1170  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1164
1165@pytest.mark.parametrize("obj", [make_da()])
1166def test_auto_chunk_da(obj):
1167 actual = obj.chunk("auto").data
1168 expected = obj.data.rechunk("auto")
1169 np.testing.assert_array_equal(actual, expected)
1170 assert actual.chunks == expected.chunks
1171
1172
1173def test_auto_chunk_da_cftime():

Callers

nothing calls this directly

Calls 2

chunkMethod · 0.45
rechunkMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…