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