(self)
| 873 | assert_equal(test, control) |
| 874 | |
| 875 | def test_leftouter_join(self): |
| 876 | a, b = self._create_arrays() |
| 877 | test = join_by(('a', 'b'), a, b, 'leftouter') |
| 878 | control = ma.array([(0, 50, 100, -1), (1, 51, 101, -1), |
| 879 | (2, 52, 102, -1), (3, 53, 103, -1), |
| 880 | (4, 54, 104, -1), (5, 55, 105, -1), |
| 881 | (6, 56, 106, -1), (7, 57, 107, -1), |
| 882 | (8, 58, 108, -1), (9, 59, 109, -1)], |
| 883 | mask=[(0, 0, 0, 1), (0, 0, 0, 1), |
| 884 | (0, 0, 0, 1), (0, 0, 0, 1), |
| 885 | (0, 0, 0, 1), (0, 0, 0, 1), |
| 886 | (0, 0, 0, 1), (0, 0, 0, 1), |
| 887 | (0, 0, 0, 1), (0, 0, 0, 1)], |
| 888 | dtype=[('a', int), ('b', int), ('c', int), ('d', int)]) |
| 889 | assert_equal(test, control) |
| 890 | |
| 891 | def test_different_field_order(self): |
| 892 | # gh-8940 |
nothing calls this directly
no test coverage detected