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