(self)
| 820 | assert_equal(test, control) |
| 821 | |
| 822 | def test_join(self): |
| 823 | a, b = self._create_arrays() |
| 824 | # Fixme, this test is broken |
| 825 | #test = join_by(('a', 'b'), a, b) |
| 826 | #control = np.array([(5, 55, 105, 100), (6, 56, 106, 101), |
| 827 | # (7, 57, 107, 102), (8, 58, 108, 103), |
| 828 | # (9, 59, 109, 104)], |
| 829 | # dtype=[('a', int), ('b', int), |
| 830 | # ('c', int), ('d', int)]) |
| 831 | #assert_equal(test, control) |
| 832 | join_by(('a', 'b'), a, b) |
| 833 | np.array([(5, 55, 105, 100), (6, 56, 106, 101), |
| 834 | (7, 57, 107, 102), (8, 58, 108, 103), |
| 835 | (9, 59, 109, 104)], |
| 836 | dtype=[('a', int), ('b', int), |
| 837 | ('c', int), ('d', int)]) |
| 838 | |
| 839 | def test_join_subdtype(self): |
| 840 | # tests the bug in https://stackoverflow.com/q/44769632/102441 |
nothing calls this directly
no test coverage detected