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