(self)
| 2018 | assert_equal(b, array([0, 2, 3], mask=[0, 0, 0])) |
| 2019 | |
| 2020 | def test_smallmask(self): |
| 2021 | # Checks the behaviour of _smallmask |
| 2022 | a = arange(10) |
| 2023 | a[1] = masked |
| 2024 | a[1] = 1 |
| 2025 | assert_equal(a._mask, nomask) |
| 2026 | a = arange(10) |
| 2027 | a._smallmask = False |
| 2028 | a[1] = masked |
| 2029 | a[1] = 1 |
| 2030 | assert_equal(a._mask, zeros(10)) |
| 2031 | |
| 2032 | def test_shrink_mask(self): |
| 2033 | # Tests .shrink_mask() |
nothing calls this directly
no test coverage detected