Leaklens

astropy__astropy-7606

Unit equality comparison with None raises TypeError for UnrecognizedUnit

Verdict: disputed: one of the two checks found quoted evidence (not counted as a flag).

/Users/aldcroft/anaconda3/lib/python3.5/site-packages/astropy/units/core.py in __eq__(self, other) 1699 1700 def __eq__(self, other): -> 1701 other = Unit(other, parse_strict='silent')

Disputed: one of the two checks found a pointer to the fix, the other found nothing. Not counted as a flag; the quote is on the task page.

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