MCPcopy Index your code
hub / github.com/numpy/numpy / test_setdiff1d_char_array

Method test_setdiff1d_char_array

numpy/ma/tests/test_extras.py:1754–1758  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1752 assert_equal(setdiff1d(a, []).dtype, np.uint32)
1753
1754 def test_setdiff1d_char_array(self):
1755 # Test setdiff1d_charray
1756 a = np.array(['a', 'b', 'c'])
1757 b = np.array(['a', 'b', 's'])
1758 assert_array_equal(setdiff1d(a, b), np.array(['c']))
1759
1760
1761class TestShapeBase:

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
setdiff1dFunction · 0.90

Tested by

no test coverage detected