From 0796aade39a0bba3f5a68601c98ce3a4da0751e8 Mon Sep 17 00:00:00 2001 From: Arun Kannawadi Date: Tue, 6 Aug 2024 23:25:24 -0700 Subject: [PATCH] Merge the 45-degree special case test with the rest --- tests/test_psf.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/tests/test_psf.py b/tests/test_psf.py index ff20a12..291c470 100644 --- a/tests/test_psf.py +++ b/tests/test_psf.py @@ -502,7 +502,7 @@ def testPiffDeterminer_skyCoords(self): self.checkPiffDeterminer(useCoordinates='sky') - @lsst.utils.tests.methodParameters(angle_degrees=[0, 35, 77, 135]) + @lsst.utils.tests.methodParameters(angle_degrees=[0, 35, 45, 77, 135]) def testPiffDeterminer_skyCoords_with_rotation(self, angle_degrees): """Test Piff sky coords with rotation.""" @@ -510,17 +510,6 @@ def testPiffDeterminer_skyCoords_with_rotation(self, angle_degrees): self.exposure.setWcs(wcs) self.checkPiffDeterminer(useCoordinates='sky', kernelSize=35) - # TODO: Merge this case with the above in DM-44467. - @unittest.skipUnless(Version(galsim.version) >= Version("2.5.2"), - reason="Requires GalSim >= 2.5.2", - ) - def testPiffDeterminer_skyCoords_rot45(self): - """Test Piff sky coords.""" - - wcs = make_wcs(angle_degrees=45) - self.exposure.setWcs(wcs) - self.checkPiffDeterminer(useCoordinates='sky', kernelSize=35) - def testPiffDeterminer_skyCoords_failure(self, angle_degrees=135): """Test that using small PSF candidates with sky coordinates fails.""" wcs = make_wcs(angle_degrees=angle_degrees)