MCPcopy Index your code
hub / github.com/numpy/numpy / test_0D_array

Method test_0D_array

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

Source from the content-addressed store, hash-verified

572 assert_raises(ValueError, hsplit, 1, 1)
573
574 def test_0D_array(self):
575 a = np.array(1)
576 try:
577 hsplit(a, 2)
578 assert_(0)
579 except ValueError:
580 pass
581
582 def test_1D_array(self):
583 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