(self)
| 5010 | assert_equal(base[n]._data, base._data[n]) |
| 5011 | |
| 5012 | def test_getmaskarray(self): |
| 5013 | # Test getmaskarray on flexible dtype |
| 5014 | ndtype = [('a', int), ('b', float)] |
| 5015 | test = empty(3, dtype=ndtype) |
| 5016 | assert_equal(getmaskarray(test), |
| 5017 | np.array([(0, 0), (0, 0), (0, 0)], |
| 5018 | dtype=[('a', '|b1'), ('b', '|b1')])) |
| 5019 | test[:] = masked |
| 5020 | assert_equal(getmaskarray(test), |
| 5021 | np.array([(1, 1), (1, 1), (1, 1)], |
| 5022 | dtype=[('a', '|b1'), ('b', '|b1')])) |
| 5023 | |
| 5024 | def test_view(self): |
| 5025 | # Test view w/ flexible dtype |
nothing calls this directly
no test coverage detected