MCPcopy Index your code
hub / github.com/dask/dask / test_funcname_numpy_vectorize

Function test_funcname_numpy_vectorize

dask/tests/test_utils.py:472–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

470
471
472def test_funcname_numpy_vectorize():
473 np = pytest.importorskip("numpy")
474
475 vfunc = np.vectorize(int)
476 assert funcname(vfunc) == "vectorize_int"
477
478 # Regression test for https://github.com/pydata/xarray/issues/3303
479 # Partial functions don't have a __name__ attribute
480 func = functools.partial(np.add, out=None)
481 vfunc = np.vectorize(func)
482 assert funcname(vfunc) == "vectorize_add"
483
484
485def test_ndeepmap():

Callers

nothing calls this directly

Calls 1

funcnameFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…