MCPcopy Create free account
hub / github.com/dask/dask / test_overlap_small

Function test_overlap_small

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

Source from the content-addressed store, hash-verified

696
697
698def test_overlap_small():
699 x = da.ones((10, 10), chunks=(5, 5))
700
701 y = x.map_overlap(lambda x: x, depth=1, boundary="none")
702 assert len(y.dask) < 200
703
704 y = x.map_overlap(lambda x: x, depth=1, boundary="none")
705 assert len(y.dask) < 100
706
707
708def test_no_shared_keys_with_different_depths():

Callers

nothing calls this directly

Calls 2

onesMethod · 0.45
map_overlapMethod · 0.45

Tested by

no test coverage detected