Skip to content

Commit

Permalink
Merge branch 'tickets/DM-14290'
Browse files Browse the repository at this point in the history
  • Loading branch information
sr525 committed Aug 22, 2020
2 parents ac0d578 + b6c2695 commit 4dd452d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_maskedImageIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def _constructImage(self, filename, hdu=None, needAllHdus=False):
if hdu:
filename = f"{filename}[{hdu}]"
if needAllHdus:
raise Exception("Cannot needAllHdus with Exposure")
raise ValueError("Cannot needAllHdus with Exposure")
return afwImage.ExposureF(filename)

def _checkImage(self, im, width, height, val1, val2, val3):
Expand Down

0 comments on commit 4dd452d

Please sign in to comment.