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

Method test_0D_array

numpy/lib/tests/test_shape_base.py:545–551  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

543 assert_raises(ValueError, hsplit, 1, 1)
544
545 def test_0D_array(self):
546 a = np.array(1)
547 try:
548 hsplit(a, 2)
549 assert_(0)
550 except ValueError:
551 pass
552
553 def test_1D_array(self):
554 a = np.array([1, 2, 3, 4])

Callers

nothing calls this directly

Calls 2

hsplitFunction · 0.90
assert_Function · 0.90

Tested by

no test coverage detected