MCPcopy
hub / github.com/dask/dask / test_map_overlap_no_depth

Function test_map_overlap_no_depth

dask/array/tests/test_overlap.py:371–374  ·  view source on GitHub ↗
(boundary)

Source from the content-addressed store, hash-verified

369 "boundary", [None, "reflect", "periodic", "nearest", "none", 0]
370)
371def test_map_overlap_no_depth(boundary):
372 x = da.arange(10, chunks=5)
373 y = x.map_overlap(lambda i: i, depth=0, boundary=boundary, dtype=x.dtype)
374 assert_eq(y, x)
375
376
377@pytest.mark.xfail(da._array_expr_enabled(), reason="reshape needed")

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
arangeMethod · 0.45
map_overlapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…