(self)
| 273 | MaskedArray([1, 2, 3], maks=[0, 1, 0]) # `mask` is misspelled. |
| 274 | |
| 275 | def test_asarray(self): |
| 276 | (x, y, a10, m1, m2, xm, ym, z, zm, xf) = self.d |
| 277 | xm.fill_value = -9999 |
| 278 | xm._hardmask = True |
| 279 | xmm = asarray(xm) |
| 280 | assert_equal(xmm._data, xm._data) |
| 281 | assert_equal(xmm._mask, xm._mask) |
| 282 | assert_equal(xmm.fill_value, xm.fill_value) |
| 283 | assert_equal(xmm._hardmask, xm._hardmask) |
| 284 | |
| 285 | def test_asarray_default_order(self): |
| 286 | # See Issue #6646 |
nothing calls this directly
no test coverage detected