()
| 164 | |
| 165 | |
| 166 | def test_map_blocks(): |
| 167 | x = da.eye(10, chunks=5) |
| 168 | y = x.map_blocks(sparse.COO.from_numpy, meta=sparse.COO.from_numpy(np.eye(1))) |
| 169 | assert isinstance(y._meta, sparse.COO) |
| 170 | assert_eq(y, y) |
| 171 | |
| 172 | |
| 173 | def test_meta_from_array(): |
nothing calls this directly
no test coverage detected