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

Method test_ufunc_at

numpy/lib/tests/test_mixins.py:205–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 expected, operator.matmul(array, array_like))
204
205 def test_ufunc_at(self):
206 array = ArrayLike(np.array([1, 2, 3, 4]))
207 assert_(np.negative.at(array, np.array([0, 1])) is None)
208 _assert_equal_type_and_value(array, ArrayLike([-1, -2, 3, 4]))
209
210 def test_ufunc_two_outputs(self):
211 mantissa, exponent = np.frexp(2 ** -3)

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
ArrayLikeClass · 0.70

Tested by

no test coverage detected