MCPcopy
hub / github.com/numpy/numpy / test_sort_matrix_none

Function test_sort_matrix_none

numpy/matrixlib/tests/test_interaction.py:47–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def test_sort_matrix_none():
48 # 2018-04-29: moved here from core.tests.test_multiarray
49 a = np.matrix([[2, 1, 0]])
50 actual = np.sort(a, axis=None)
51 expected = np.matrix([[0, 1, 2]])
52 assert_equal(actual, expected)
53 assert_(type(expected) is np.matrix)
54
55
56def test_partition_matrix_none():

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
assert_Function · 0.90
sortMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…