Skip to content

Commit

Permalink
Decrease absolute tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
javerbukh committed May 24, 2021
1 parent d26ae93 commit 6ac1256
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_no_spec_flux_unit_exp_not_none(specviz_app, spectrum1d):
assert_quantity_allclose(converted_spectrum.flux,
RESULT_FLUX, atol=1e-5*u.Unit(new_flux))
assert_quantity_allclose(converted_spectrum.uncertainty.quantity.value,
RESULT_UNCERTAINTY, atol=1e-5)
RESULT_UNCERTAINTY, atol=1e-11)


def test_spec_flux_no_uncert(specviz_app, spectrum1d):
Expand Down Expand Up @@ -244,4 +244,4 @@ def test_spec_flux_uncert_unit_exp(specviz_app, spectrum1d):
assert_quantity_allclose(converted_spectrum.flux,
RESULT_FLUX, atol=1e-5*u.Unit(new_flux))
assert_quantity_allclose(converted_spectrum.uncertainty.quantity.value,
RESULT_UNCERTAINTY, atol=1e-5)
RESULT_UNCERTAINTY, atol=1e-11)

0 comments on commit 6ac1256

Please sign in to comment.