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

Method test_ufunc

numpy/ma/tests/test_core.py:5592–5593  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5590 assert_equal(np.ma.getmask(result), np.ones(vector.shape, dtype=bool))
5591
5592 def test_ufunc(self):
5593 self._do_add_test(np.add)
5594
5595 def test_operator(self):
5596 self._do_add_test(lambda a, b: a + b)

Callers

nothing calls this directly

Calls 1

_do_add_testMethod · 0.95

Tested by

no test coverage detected