(func)
| 41 | ], |
| 42 | ) |
| 43 | def test_array_function_dask(func): |
| 44 | x = np.random.default_rng().random((100, 100)) |
| 45 | y = da.from_array(x, chunks=(50, 50)) |
| 46 | res_x = func(x) |
| 47 | res_y = func(y) |
| 48 | |
| 49 | assert isinstance(res_y, da.Array) |
| 50 | assert_eq(res_y, res_x) |
| 51 | |
| 52 | |
| 53 | @pytest.mark.parametrize( |