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

Method tst_basic

numpy/core/tests/test_multiarray.py:5139–5141  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

5137
5138class TestTake:
5139 def tst_basic(self, x):
5140 ind = list(range(x.shape[0]))
5141 assert_array_equal(x.take(ind, axis=0), x)
5142
5143 def test_ip_types(self):
5144 unchecked_types = [bytes, str, np.void]

Callers 1

test_ip_typesMethod · 0.95

Calls 2

assert_array_equalFunction · 0.90
takeMethod · 0.80

Tested by

no test coverage detected