(self)
| 3283 | assert_equal(b._mask, [[0, 1], [1, 0]]) |
| 3284 | |
| 3285 | def test_compressed(self): |
| 3286 | # Tests compressed |
| 3287 | a = array([1, 2, 3, 4], mask=[0, 0, 0, 0]) |
| 3288 | b = a.compressed() |
| 3289 | assert_equal(b, a) |
| 3290 | a[0] = masked |
| 3291 | b = a.compressed() |
| 3292 | assert_equal(b, [2, 3, 4]) |
| 3293 | |
| 3294 | def test_empty(self): |
| 3295 | # Tests empty/like |
nothing calls this directly
no test coverage detected