From a81729ea662e29149e8d003f78e2ad6460b00196 Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Sun, 1 Sep 2024 11:29:27 +0200 Subject: [PATCH] TST: Fix Astropy minversion for Lorentz1D result change The patch was backported and is now in Astropy 6.3.1, which should be the minversion. --- ginga/tests/test_iqcalc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ginga/tests/test_iqcalc.py b/ginga/tests/test_iqcalc.py index 5e9765a95..fef592cb9 100644 --- a/ginga/tests/test_iqcalc.py +++ b/ginga/tests/test_iqcalc.py @@ -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( @@ -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