Skip to content

Commit

Permalink
Remove the butler existence check
Browse files Browse the repository at this point in the history
The check isn't really testing anything because the butler.get
immediately afterwards will show that the dataset exists.
  • Loading branch information
timj committed Jun 7, 2023
1 parent 2ee15d5 commit e39b408
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_isr.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ def test_isr_basic(self):
"""Test basic ISR."""
butler = lsst.daf.butler.Butler(self.repo, instrument='DECam', collections=self.basic_collection)

self.assertTrue(butler.datasetExists('postISRCCD', exposure=EXPOSURE, detector=DETECTOR))
exp = butler.get('postISRCCD', exposure=EXPOSURE, detector=DETECTOR)
self.assertIsInstance(exp, lsst.afw.image.ExposureF)

Expand Down

0 comments on commit e39b408

Please sign in to comment.