Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
def
test_stack_errors():
21
assert_raises(TypeError,
lambda
: stack([asarray([1, 1], dtype=int8),
22
asarray([2, 2], dtype=float64)]))
23
24
25
def
test_reshape_copy():
Callers
nothing calls this directly
Calls
3
assert_raises
Function · 0.90
stack
Function · 0.50
asarray
Function · 0.50
Tested by
no test coverage detected