()
| 754 | |
| 755 | @pytest.mark.xfail |
| 756 | def test_cull(): |
| 757 | x = da.ones(1000, chunks=(10,)) |
| 758 | |
| 759 | for slc in [1, slice(0, 30), slice(0, None, 100)]: |
| 760 | y = x[slc] |
| 761 | assert len(y.dask) < len(x.dask) |
| 762 | |
| 763 | |
| 764 | @pytest.mark.parametrize("shape", [(2,), (2, 3), (2, 3, 5)]) |