astrofrog / wcsaxes

wcsaxes has been merged into astropy!
http://docs.astropy.org/en/stable/visualization/wcsaxes/index.html
22 stars 21 forks source link

On ARM machines, test_no_numpy_warnings fails #181

Closed olebole closed 8 years ago

olebole commented 9 years ago

When running the tests on Debian/arm, the test_no_numpy_warnings fails:

____________________________ test_no_numpy_warnings ____________________________

    def test_no_numpy_warnings():
        [...]

>       assert len(ws) == 0
E       assert 16 == 0
E        +  where 16 = len([<warnings.WarningMessage object at 0xb1455c90>, 
<warnings.WarningMessage object at 0xb1455fd0>, <warnings.WarningMess...ct at 0xb1455ff0>, 
<warnings.WarningMessage object at 0xb1455e90>, <warnings.WarningMessage object at 0xb1455590>, ...])

wcsaxes/tests/test_misc.py:70: AssertionError
----------------------------- Captured stdout call -----------------------------
{message : RuntimeWarning('invalid value encountered in remainder',), 
 category : 'RuntimeWarning', 
 filename : 'wcsaxes/coordinate_helpers.py', lineno : 28, line : None}
[...]

Numpy version is 1.9.2. On x86_86, the identical software configuration succeeds. This actually came out opf a reproducibility test.

astrofrog commented 8 years ago

@olebole - this should be fixed, can you confirm?

olebole commented 8 years ago

It seens that was already fixed in 0.6 with numpy 1.11.0.