()
| 746 | |
| 747 | |
| 748 | def test_keys_from_array(): |
| 749 | pytest.importorskip("numpy") |
| 750 | da = pytest.importorskip("dask.array") |
| 751 | from dask.array.utils import _check_dsk |
| 752 | |
| 753 | X = da.ones((10, 10), chunks=5).to_delayed().flatten() |
| 754 | xs = [delayed(inc)(x) for x in X] |
| 755 | |
| 756 | _check_dsk(xs[0].dask) |
| 757 | |
| 758 | |
| 759 | # Mostly copied from https://github.com/pytoolz/toolz/pull/220 |
nothing calls this directly
no test coverage detected
searching dependent graphs…