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

Function test_asarray

dask/array/tests/test_xarray.py:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def test_asarray():
25 y = da.asarray(xr.DataArray([1, 2, 3.0]))
26 assert isinstance(y, da.Array)
27 assert_eq(y, y)
28
29
30def test_asanyarray():

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected