Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ test_complex
Method
test_complex
numpy/lib/tests/test_function_base.py:2742–2745 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2740
assert_array_equal(exp, res)
2741
2742
def
test_complex(self):
2743
a = np.array([0, 1 + 2j])
2744
with
pytest.raises(TypeError, match=
"i0 not supported for complex values"
):
2745
res = i0(a)
2746
2747
2748
class
TestKaiser:
Callers
nothing calls this directly
Calls
1
i0
Function · 0.90
Tested by
no test coverage detected