MCPcopy
hub / github.com/numpy/numpy / tst_basic

Method tst_basic

numpy/_core/tests/test_multiarray.py:5954–5956  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

5952
5953class TestTake:
5954 def tst_basic(self, x):
5955 ind = list(range(x.shape[0]))
5956 assert_array_equal(x.take(ind, axis=0), x)
5957
5958 def test_ip_types(self):
5959 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