MCPcopy Create free account
hub / github.com/dask/dask / test_repr_meta

Function test_repr_meta

dask/array/tests/test_array_core.py:1972–1979  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1970
1971
1972def test_repr_meta():
1973 d = da.ones((4, 4), chunks=(2, 2))
1974 assert "chunktype=numpy.ndarray" in repr(d)
1975
1976 # Test non-numpy meta
1977 sparse = pytest.importorskip("sparse")
1978 s = d.map_blocks(sparse.COO)
1979 assert "chunktype=sparse.COO" in repr(s)
1980
1981
1982def test_repr_html_array_highlevelgraph():

Callers

nothing calls this directly

Calls 2

onesMethod · 0.45
map_blocksMethod · 0.45

Tested by

no test coverage detected