(chunks)
| 2989 | |
| 2990 | @pytest.mark.parametrize("chunks", [-1, 2]) |
| 2991 | def test_array_copy_noop(chunks): |
| 2992 | # Regression test for https://github.com/dask/dask/issues/9533 |
| 2993 | # Which is a revert of the solution for https://github.com/dask/dask/issues/3751 |
| 2994 | x = np.arange(10) |
| 2995 | y = da.from_array(x, chunks=chunks) |
| 2996 | y_c = y.copy() |
| 2997 | assert y.name == y_c.name |
| 2998 | |
| 2999 | |
| 3000 | def test_from_array_dask_array(): |