()
| 132 | |
| 133 | |
| 134 | def test_html_repr(): |
| 135 | pytest.importorskip("jinja2") |
| 136 | y = da.random.random((10, 10), chunks=(5, 5)) |
| 137 | y[y < 0.8] = 0 |
| 138 | y = y.map_blocks(sparse.COO.from_numpy) |
| 139 | |
| 140 | text = y._repr_html_() |
| 141 | |
| 142 | assert "COO" in text |
| 143 | assert "sparse" in text |
| 144 | assert "Bytes" not in text |
| 145 | |
| 146 | |
| 147 | def test_from_delayed_meta(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…