MCPcopy
hub / github.com/dask/dask / test_trim_internal

Function test_trim_internal

dask/array/tests/test_overlap.py:144–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142
143@pytest.mark.xfail(da._array_expr_enabled(), reason="blockwise fusion needed")
144def test_trim_internal():
145 d = da.ones((40, 60), chunks=(10, 10))
146 e = trim_internal(d, axes={0: 1, 1: 2}, boundary="reflect")
147 assert len(collections_to_expr([e]).__dask_graph__()) == 24
148 assert e.chunks == ((8, 8, 8, 8), (6, 6, 6, 6, 6, 6))
149
150
151def test_periodic():

Callers

nothing calls this directly

Calls 4

trim_internalFunction · 0.90
collections_to_exprFunction · 0.90
onesMethod · 0.45
__dask_graph__Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…