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

Function test_tri_like

dask/array/tests/test_array_function.py:249–252  ·  view source on GitHub ↗
(like_ns)

Source from the content-addressed store, hash-verified

247
248@pytest.mark.parametrize("like_ns", (np, da))
249def test_tri_like(like_ns):
250 like = like_ns.array(0)
251 assert_eq(da.tri(1, like=like), da.tri(1))
252 assert_eq(da.tri(1, like=like, dtype=np.float32), da.tri(1, dtype=np.float32))
253
254
255@pytest.mark.parametrize("func", [np.array, np.asarray, np.asanyarray])

Callers

nothing calls this directly

Calls 1

assert_eqFunction · 0.90

Tested by

no test coverage detected