(self)
| 802 | dtype=[('a', int), ('b', int), ('d', int)]) |
| 803 | |
| 804 | def test_inner_join(self): |
| 805 | # Basic test of join_by |
| 806 | a, b = self.a, self.b |
| 807 | |
| 808 | test = join_by('a', a, b, jointype='inner') |
| 809 | control = np.array([(5, 55, 65, 105, 100), (6, 56, 66, 106, 101), |
| 810 | (7, 57, 67, 107, 102), (8, 58, 68, 108, 103), |
| 811 | (9, 59, 69, 109, 104)], |
| 812 | dtype=[('a', int), ('b1', int), ('b2', int), |
| 813 | ('c', int), ('d', int)]) |
| 814 | assert_equal(test, control) |
| 815 | |
| 816 | def test_join(self): |
| 817 | a, b = self.a, self.b |
nothing calls this directly
no test coverage detected