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

Function test_repr_html

dask/array/tests/test_svg.py:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_repr_html():
27 pytest.importorskip("jinja2")
28 assert da.ones([])._repr_html_()
29 assert da.ones(10)[:0]._repr_html_()
30 assert da.ones(10)._repr_html_()
31 assert da.ones((10, 10))._repr_html_()
32 assert da.ones((10, 10, 10))._repr_html_()
33 assert da.ones((10, 10, 10, 10))._repr_html_()
34
35
36def test_errors():

Callers

nothing calls this directly

Calls 2

_repr_html_Method · 0.45
onesMethod · 0.45

Tested by

no test coverage detected