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

Function test_array_notimpl_function_dask

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

Source from the content-addressed store, hash-verified

89 ],
90)
91def test_array_notimpl_function_dask(func):
92 x = np.random.default_rng().random((100, 100))
93 y = da.from_array(x, chunks=(50, 50))
94
95 with pytest.warns(
96 FutureWarning, match="The `.*` function is not implemented by Dask"
97 ):
98 func(y)
99
100
101@pytest.mark.parametrize("func", [np.real, np.imag, np.transpose])

Callers

nothing calls this directly

Calls 2

funcFunction · 0.70
randomMethod · 0.45

Tested by

no test coverage detected