MCPcopy Create free account
hub / github.com/numpy/numpy / test_stack_errors

Function test_stack_errors

numpy/array_api/tests/test_manipulation_functions.py:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_stack_errors():
21 assert_raises(TypeError, lambda: stack([asarray([1, 1], dtype=int8),
22 asarray([2, 2], dtype=float64)]))
23
24
25def test_reshape_copy():

Callers

nothing calls this directly

Calls 3

assert_raisesFunction · 0.90
stackFunction · 0.50
asarrayFunction · 0.50

Tested by

no test coverage detected