MCPcopy Create free account
hub / github.com/pydata/xarray / test_short_data_repr_html_dask

Function test_short_data_repr_html_dask

xarray/tests/test_formatting_html.py:124–127  ·  view source on GitHub ↗
(dask_dataarray: xr.DataArray)

Source from the content-addressed store, hash-verified

122
123
124def test_short_data_repr_html_dask(dask_dataarray: xr.DataArray) -> None:
125 assert hasattr(dask_dataarray.data, "_repr_html_")
126 data_repr = fh.short_data_repr_html(dask_dataarray)
127 assert data_repr == dask_dataarray.data._repr_html_()
128
129
130def test_format_dims_no_dims() -> None:

Callers

nothing calls this directly

Calls 1

_repr_html_Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…