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

Method tst_basic

numpy/core/tests/test_multiarray.py:5060–5062  ·  view source on GitHub ↗
(self, x, T, mask, val)

Source from the content-addressed store, hash-verified

5058
5059class TestPutmask:
5060 def tst_basic(self, x, T, mask, val):
5061 np.putmask(x, mask, val)
5062 assert_equal(x[mask], np.array(val, T))
5063
5064 def test_ip_types(self):
5065 unchecked_types = [bytes, str, np.void]

Callers 1

test_ip_typesMethod · 0.95

Calls 1

assert_equalFunction · 0.90

Tested by

no test coverage detected