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

Method test_ones_like

numpy/core/tests/test_numeric.py:2917–2918  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2915 assert_(type(b) is not MyNDArray)
2916
2917 def test_ones_like(self):
2918 self.check_like_function(np.ones_like, 1)
2919
2920 def test_zeros_like(self):
2921 self.check_like_function(np.zeros_like, 0)

Callers

nothing calls this directly

Calls 1

check_like_functionMethod · 0.95

Tested by

no test coverage detected