(self)
| 1100 | assert_(isinstance(ma + na, MaskedArray)) |
| 1101 | |
| 1102 | def test_limits_arithmetic(self): |
| 1103 | tiny = np.finfo(float).tiny |
| 1104 | a = array([tiny, 1. / tiny, 0.]) |
| 1105 | assert_equal(getmaskarray(a / 2), [0, 0, 0]) |
| 1106 | assert_equal(getmaskarray(2 / a), [1, 0, 1]) |
| 1107 | |
| 1108 | def test_masked_singleton_arithmetic(self): |
| 1109 | # Tests some scalar arithmetic on MaskedArrays. |
nothing calls this directly
no test coverage detected