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

Function test_iscomplexobj

dask/array/tests/test_routines.py:2807–2812  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2805
2806
2807def test_iscomplexobj():
2808 a = da.from_array(np.array([1, 2]), 2)
2809 assert np.iscomplexobj(a) is False
2810
2811 a = da.from_array(np.array([1, 2 + 0j]), 2)
2812 assert np.iscomplexobj(a) is True
2813
2814
2815def test_tril_triu():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected