(self)
| 3497 | assert_equal(b._mask, [[0, 1], [1, 0]]) |
| 3498 | |
| 3499 | def test_compressed(self): |
| 3500 | # Tests compressed |
| 3501 | a = array([1, 2, 3, 4], mask=[0, 0, 0, 0]) |
| 3502 | b = a.compressed() |
| 3503 | assert_equal(b, a) |
| 3504 | a[0] = masked |
| 3505 | b = a.compressed() |
| 3506 | assert_equal(b, [2, 3, 4]) |
| 3507 | |
| 3508 | def test_empty(self): |
| 3509 | # Tests empty/like |
nothing calls this directly
no test coverage detected