Closed nmichaels-qualinx closed 1 year ago
Checked the release against my test data, and it worked perfectly. Thanks for fixing this so quickly.
Checked the release against my test data, and it worked perfectly. Thanks for fixing this so quickly.
Used to work fine but regressed somewhere along the way. I've added a check to the automated test suite so it shouldn't happen again.
The title says it all. This docstring:
:param int validate (kwarg): bitfield validation flags - VALCKSUM (default), VALMSGID
and:return: NMEAMessage object (or None if unknown message and VALMSGID is not set)
is a lie. When I pass
validate=0
to the parse method or to theNMEAReader
constructor, it still raises anNMEAParseError
when it's fed a line that isn't valid NMEA. I would expect anNMEAReader
instance to just skip over the invalid line, andNMEAReader.parse()
to returnNone
, as specified in the docstring.