(self)
| 335 | assert_array_equal(isin([], [], kind=kind), []) |
| 336 | |
| 337 | def test_isin_char_array(self): |
| 338 | a = np.array(['a', 'b', 'c', 'd', 'e', 'c', 'e', 'b']) |
| 339 | b = np.array(['a', 'c']) |
| 340 | |
| 341 | ec = np.array([True, False, True, False, False, True, False, False]) |
| 342 | c = isin(a, b) |
| 343 | |
| 344 | assert_array_equal(c, ec) |
| 345 | |
| 346 | @pytest.mark.parametrize("kind", [None, "sort", "table"]) |
| 347 | def test_isin_invert(self, kind): |
nothing calls this directly
no test coverage detected