()
| 401 | |
| 402 | |
| 403 | def test_from_array_wrong_column_shape_error(): |
| 404 | x = da.ones((10, 3), chunks=(3, 3)) |
| 405 | with pytest.raises(ValueError, match="names must match width"): |
| 406 | dd.from_dask_array(x, columns=["a"]) # dask |
| 407 | |
| 408 | y = np.ones((10, 3)) |
| 409 | with pytest.raises(ValueError, match="names must match width"): |
| 410 | dd.from_array(y, columns=["a"]) # numpy |
| 411 | |
| 412 | |
| 413 | def test_from_array_with_column_names(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…