()
| 5824 | |
| 5825 | |
| 5826 | def test_from_array_meta(): |
| 5827 | sparse = pytest.importorskip("sparse") |
| 5828 | x = np.ones(10) |
| 5829 | meta = sparse.COO.from_numpy(x) |
| 5830 | y = da.from_array(x, meta=meta) |
| 5831 | assert isinstance(y._meta, sparse.COO) |
| 5832 | |
| 5833 | |
| 5834 | def test_compute_chunk_sizes(): |