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

Method test_ufunc

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

Source from the content-addressed store, hash-verified

5329 assert_equal(np.ma.getmask(result), np.ones(vector.shape, dtype=bool))
5330
5331 def test_ufunc(self):
5332 self._do_add_test(np.add)
5333
5334 def test_operator(self):
5335 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