Leaklens

astropy__astropy-14995

In v5.3, NDDataRef mask propagation fails when one of the operand does not have a mask

Verdict: the fix is stated in the issue (Tier A).

So it looks like somebody accidentally turned the lines ``` elif operand.mask is None: return deepcopy(self.mask) ``` into ``` elif operand is None: return deepcopy(self.mask) ```

The text states the fix: “So it looks like somebody accidentally turned the lines ``` elif operand.mask is None: return deepcopy(self.mask) ``` into ``` elif operand is None: return deepcopy(self…”

All SWE-bench Verified tasks · more astropy/astropy tasks · How the check works