Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Fix Astropy minversion for Lorentz1D result change #1107

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ginga/tests/test_iqcalc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ginga.util.iqcalc import have_scipy # noqa
from ginga.util.iqcalc_astropy import have_photutils # noqa

ASTROPY_LT_7_0 = not minversion("astropy", "7.0.dev")
ASTROPY_LT_6_1_3 = not minversion("astropy", "6.1.3")


@pytest.mark.parametrize(
Expand Down Expand Up @@ -287,7 +287,7 @@ def setup_class(self):
self.fwhm_funcs = (self.iqcalc.calc_fwhm_gaussian,
self.iqcalc.calc_fwhm_moffat,
self.iqcalc.calc_fwhm_lorentz)
if ASTROPY_LT_7_0:
if ASTROPY_LT_6_1_3:
lorentz_ans = (1.9570, 1.8113)
else:
# https://github.com/astropy/astropy/pull/16794
Expand Down