From fa1c75822be9203bea6097606d83a9d42e39045f Mon Sep 17 00:00:00 2001 From: Christopher Waters Date: Fri, 28 Oct 2022 16:18:28 -0700 Subject: [PATCH] Update imports for ip_isr changes. --- tests/test_defects.py | 4 ++-- tests/test_deferredCharge.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_defects.py b/tests/test_defects.py index 5c5e2fc3..ea58bc78 100644 --- a/tests/test_defects.py +++ b/tests/test_defects.py @@ -888,7 +888,7 @@ def test_edgeMasking(self): testImage = self.flatExp.clone() mi = testImage.maskedImage - self.assertEqual(countMaskedPixels(mi, 'EDGE'), 0) + self.assertEqual(ipIsr.countMaskedPixels(mi, 'EDGE'), 0) self.defaultTask._setEdgeBits(mi) hEdge = self.defaultConfig.nPixBorderLeftRight @@ -897,7 +897,7 @@ def test_edgeMasking(self): nEdge = xSize*vEdge*2 + ySize*hEdge*2 - hEdge*vEdge*4 - self.assertEqual(countMaskedPixels(mi, 'EDGE'), nEdge) + self.assertEqual(ipIsr.countMaskedPixels(mi, 'EDGE'), nEdge) def test_badImage(self): """Check that fully-bad images do not fail. diff --git a/tests/test_deferredCharge.py b/tests/test_deferredCharge.py index 3e8f5551..08a1e374 100644 --- a/tests/test_deferredCharge.py +++ b/tests/test_deferredCharge.py @@ -28,7 +28,7 @@ import lsst.utils.tests import lsst.cp.pipe as cpPipe -from lsst.ip.isr import IsrMock +from lsst.ip.isr.isrMock import IsrMock class CpCtiSolveTaskTestCase(lsst.utils.tests.TestCase):