(self)
| 2185 | assert_equal(b, array([0, 2, 3], mask=[0, 0, 0])) |
| 2186 | |
| 2187 | def test_smallmask(self): |
| 2188 | # Checks the behaviour of _smallmask |
| 2189 | a = arange(10) |
| 2190 | a[1] = masked |
| 2191 | a[1] = 1 |
| 2192 | assert_equal(a._mask, nomask) |
| 2193 | a = arange(10) |
| 2194 | a._smallmask = False |
| 2195 | a[1] = masked |
| 2196 | a[1] = 1 |
| 2197 | assert_equal(a._mask, zeros(10)) |
| 2198 | |
| 2199 | def test_shrink_mask(self): |
| 2200 | # Tests .shrink_mask() |
nothing calls this directly
no test coverage detected