New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-7233: Pytest updates #18
Conversation
|
||
def testSaturation(self): | ||
saturation = 1000 | ||
|
||
bbox = afwGeom.Box2I(afwGeom.Point2I(0, 0), afwGeom.Point2I(19, 19)) | ||
maskedImage = afwImage.MaskedImageF(bbox) | ||
maskedImage.set(100, 0x0, 1) | ||
exposure = afwImage.ExposureF(maskedImage, None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this here? Was it supposed to be tested?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the code using exposure
was removed in commit dd64d97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line (and the other removed one) was flagged as unused. @timj found the related commit.
No description provided.