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

Method test_0d

numpy/lib/tests/test_function_base.py:1039–1044  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1037 self._check_inverse_of_slicing(-4)
1038
1039 def test_0d(self):
1040 a = np.array(1)
1041 with pytest.raises(AxisError):
1042 delete(a, [], axis=0)
1043 with pytest.raises(TypeError):
1044 delete(a, [], axis="nonsense")
1045
1046 def test_subclass(self):
1047 class SubClass(np.ndarray):

Callers

nothing calls this directly

Calls 1

deleteFunction · 0.90

Tested by

no test coverage detected