(self)
| 351 | class TestView: |
| 352 | |
| 353 | def _create_data(self): |
| 354 | a, b = (np.arange(10), np.random.rand(10)) |
| 355 | ndtype = [('a', float), ('b', float)] |
| 356 | arr = np.array(list(zip(a, b)), dtype=ndtype) |
| 357 | |
| 358 | mrec = fromarrays([a, b], dtype=ndtype, fill_value=(-9., -99.)) |
| 359 | mrec.mask[3] = (False, True) |
| 360 | return mrec, a, b, arr |
| 361 | |
| 362 | def test_view_by_itself(self): |
| 363 | mrec = self._create_data()[0] |
no test coverage detected