(self)
| 2671 | assert_mask_equal(ur.mask, mr.mask, err_msg=f) |
| 2672 | |
| 2673 | def test_reduce(self): |
| 2674 | # Tests reduce on MaskedArrays. |
| 2675 | a = self._create_data()[0] |
| 2676 | assert_(not alltrue(a, axis=0)) |
| 2677 | assert_(sometrue(a, axis=0)) |
| 2678 | assert_equal(sum(a[:3], axis=0), 0) |
| 2679 | assert_equal(product(a, axis=0), 0) |
| 2680 | assert_equal(add.reduce(a), pi) |
| 2681 | |
| 2682 | def test_minmax(self): |
| 2683 | # Tests extrema on MaskedArrays. |
nothing calls this directly
no test coverage detected