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

Method test_argsort

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

Source from the content-addressed store, hash-verified

3621 test = sort(a, endwith=False)
3622
3623 def test_argsort(self):
3624 # Test argsort
3625 a = array([1, 5, 2, 4, 3], mask=[1, 0, 0, 1, 0])
3626 assert_equal(np.argsort(a), argsort(a))
3627
3628 def test_squeeze(self):
3629 # Check squeeze

Callers

nothing calls this directly

Calls 4

arrayFunction · 0.90
assert_equalFunction · 0.90
argsortFunction · 0.90
argsortMethod · 0.45

Tested by

no test coverage detected