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

Function test_like_with_numpy_func

dask/array/tests/test_array_function.py:256–257  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

254
255@pytest.mark.parametrize("func", [np.array, np.asarray, np.asanyarray])
256def test_like_with_numpy_func(func):
257 assert_eq(func(1, like=da.array(1)), func(1))
258
259
260@pytest.mark.parametrize("func", [np.array, np.asarray, np.asanyarray])

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
funcFunction · 0.70

Tested by

no test coverage detected