(self)
| 319 | assert_array_equal(in1d([], [], kind=kind), []) |
| 320 | |
| 321 | def test_in1d_char_array(self): |
| 322 | a = np.array(['a', 'b', 'c', 'd', 'e', 'c', 'e', 'b']) |
| 323 | b = np.array(['a', 'c']) |
| 324 | |
| 325 | ec = np.array([True, False, True, False, False, True, False, False]) |
| 326 | c = in1d(a, b) |
| 327 | |
| 328 | assert_array_equal(c, ec) |
| 329 | |
| 330 | @pytest.mark.parametrize("kind", [None, "sort", "table"]) |
| 331 | def test_in1d_invert(self, kind): |
nothing calls this directly
no test coverage detected