MCPcopy
hub / github.com/numpy/numpy / test_setdiff1d_char_array

Method test_setdiff1d_char_array

numpy/lib/tests/test_arraysetops.py:616–619  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

614 assert_equal(actual, expected)
615
616 def test_setdiff1d_char_array(self):
617 a = np.array(['a', 'b', 'c'])
618 b = np.array(['a', 'b', 's'])
619 assert_array_equal(setdiff1d(a, b), np.array(['c']))
620
621 def test_manyways(self):
622 a = np.array([5, 7, 1, 2, 8])

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
setdiff1dFunction · 0.90

Tested by

no test coverage detected