MCPcopy
hub / github.com/numpy/numpy / assert_isin_equal

Method assert_isin_equal

numpy/lib/tests/test_arraysetops.py:224–227  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

222 isin_slow = np.vectorize(_isin_slow, otypes=[bool], excluded={1})
223
224 def assert_isin_equal(a, b):
225 x = isin(a, b, kind=kind)
226 y = isin_slow(a, b)
227 assert_array_equal(x, y)
228
229 # multidimensional arrays in both arguments
230 a = np.arange(24).reshape([2, 3, 4])

Callers

nothing calls this directly

Calls 2

isinFunction · 0.90
assert_array_equalFunction · 0.90

Tested by

no test coverage detected