Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the test sometimes fails with the following error: ====================================================================== ERROR: Test a special case for var ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/numpy/ma/tests/test_core.py", line 2731, in test_varstd_specialcases _ = method(out=mout) File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/numpy/ma/core.py", line 4778, in std np.power(out, 0.5, out=out, casting='unsafe') RuntimeWarning: invalid value encountered in power ---------------------------------------------------------------------- Now we catch it, as recommended by the thread: http://old.nabble.com/Should-abs(-nan-)-be-supported--td34389839.html
- Loading branch information