(self)
| 604 | assert_equal(test, control) |
| 605 | |
| 606 | def test_append_on_flex(self): |
| 607 | # Test append_fields on flexible type arrays |
| 608 | z = self._create_arrays()[-1] |
| 609 | test = append_fields(z, 'C', data=[10, 20, 30]) |
| 610 | control = ma.array([('A', 1., 10), ('B', 2., 20), (-1, -1., 30)], |
| 611 | mask=[(0, 0, 0), (0, 0, 0), (1, 1, 0)], |
| 612 | dtype=[('A', '|S3'), ('B', float), ('C', int)],) |
| 613 | assert_equal(test, control) |
| 614 | |
| 615 | def test_append_on_nested(self): |
| 616 | # Test append_fields on nested fields |
nothing calls this directly
no test coverage detected