()
| 795 | |
| 796 | |
| 797 | def test_map_overlap_rechunks_array_if_needed(): |
| 798 | # https://github.com/dask/dask/issues/6597 |
| 799 | expected = np.arange(11) |
| 800 | x = da.from_array(expected, chunks=5) |
| 801 | y = x.map_overlap(lambda x: x, depth=2, boundary=0) |
| 802 | assert all(c >= 2 for c in y.chunks[0]) |
| 803 | assert_eq(y, expected) |
| 804 | |
| 805 | |
| 806 | def test_map_overlap_rechunks_array_along_multiple_dims_if_needed(): |
nothing calls this directly
no test coverage detected