From f53f866b9e8a0a79fbb3eb53bc6ae07eb2139536 Mon Sep 17 00:00:00 2001 From: John Parejko Date: Wed, 21 Aug 2024 20:48:08 -0500 Subject: [PATCH] Remove unnecessary tearDowns --- tests/test_astrometryFail.py | 6 ------ tests/test_psfModelTraceFail.py | 8 -------- 2 files changed, 14 deletions(-) diff --git a/tests/test_astrometryFail.py b/tests/test_astrometryFail.py index df93bda..84cbdab 100644 --- a/tests/test_astrometryFail.py +++ b/tests/test_astrometryFail.py @@ -45,12 +45,6 @@ def setUp(self): universe=self.butler.dimensions, ) - def tearDown(self): - del self.butler - del self.detector - del self.visit - del self.calexpMinimalDataId - def testWcsAndPhotoCalibIsNoneForFailedAstrom(self): """Test the WCS and photoCalib objects attached to failed WCS exposure. diff --git a/tests/test_psfModelTraceFail.py b/tests/test_psfModelTraceFail.py index a3dab1f..83332eb 100644 --- a/tests/test_psfModelTraceFail.py +++ b/tests/test_psfModelTraceFail.py @@ -44,14 +44,6 @@ def setUp(self): universe=self.butler.dimensions, ) - def tearDown(self): - del self.butler - del self.skymap - del self.tract - del self.patch - del self.band - del self.coaddDataId - def testFailedPsfTraceRadiusDeltaNotInCoadd(self): """Check that the detectors failing the maxPsfTraceRadiusDelta criterion are not included in the coadd.