You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Debian "ARM 32 bit little Endian Soft Float" ("armel") platform, I get test failures since the platform seems to handle floating point errors differently. This is a regression, but it could probably be ignored?
Expected behavior
The tests should succeed
Actual behavior
I get the following two failures:
______________________ test_linear_fit_model_set_weights _______________________
def test_linear_fit_model_set_weights():
[…]
with pytest.warns(RuntimeWarning,
match=r'invalid value encountered in true_divide'):
> fitted_model = fitter(init_model, x,
np.ma.array(y, mask=np.isclose(weights, 0)),
weights=weights)
E Failed: DID NOT WARN. No warnings of type (<class 'RuntimeWarning'>,) was emitted. The list of emitted warnings is: [].
astropy/modeling/tests/test_model_sets.py:392: Failed
and
____________________ test_blackbody_exceptions_and_warnings ____________________
def test_blackbody_exceptions_and_warnings():
[…]
with pytest.warns(AstropyUserWarning, match='invalid') as w:
bb(0 * u.AA)
> assert len(w) == 3 # 2 of these are RuntimeWarning from zero divide
E assert 1 == 3
E + where 1 = len(WarningsChecker(record=True))
astropy/modeling/tests/test_physical_models.py:119: AssertionError
Description
On the Debian "ARM 32 bit little Endian Soft Float" ("armel") platform, I get test failures since the platform seems to handle floating point errors differently. This is a regression, but it could probably be ignored?
Expected behavior
The tests should succeed
Actual behavior
I get the following two failures:
and
Steps to Reproduce
Build and test the package on armel
System Details