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

Method test_0d

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

Source from the content-addressed store, hash-verified

899 self._check_inverse_of_slicing(-4)
900
901 def test_0d(self):
902 a = np.array(1)
903 with pytest.raises(np.AxisError):
904 delete(a, [], axis=0)
905 with pytest.raises(TypeError):
906 delete(a, [], axis="nonsense")
907
908 def test_subclass(self):
909 class SubClass(np.ndarray):

Callers

nothing calls this directly

Calls 1

deleteFunction · 0.90

Tested by

no test coverage detected