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