(self)
| 607 | assert_equal(setdiff1d(a, []).dtype, np.uint32) |
| 608 | |
| 609 | def test_setdiff1d_unique(self): |
| 610 | a = np.array([3, 2, 1]) |
| 611 | b = np.array([7, 5, 2]) |
| 612 | expected = np.array([3, 1]) |
| 613 | actual = setdiff1d(a, b, assume_unique=True) |
| 614 | assert_equal(actual, expected) |
| 615 | |
| 616 | def test_setdiff1d_char_array(self): |
| 617 | a = np.array(['a', 'b', 'c']) |
nothing calls this directly
no test coverage detected