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

Function test_concat_errors

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

Source from the content-addressed store, hash-verified

12
13
14def test_concat_errors():
15 assert_raises(TypeError, lambda: concat((1, 1), axis=None))
16 assert_raises(TypeError, lambda: concat([asarray([1], dtype=int8),
17 asarray([1], dtype=float64)]))
18
19
20def test_stack_errors():

Callers

nothing calls this directly

Calls 3

assert_raisesFunction · 0.90
concatFunction · 0.85
asarrayFunction · 0.50

Tested by

no test coverage detected