• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Knio / pynmea2 / 41536215487
98%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2026 10:19PM UTC
Jobs 7
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2026 10:19PM UTC coverage: 97.519% (+0.01%) from 97.506%
41536215487

push

github

web-flow
Return None for incomplete derived datetimes (recover #185) (#187)

Return None from .datetime and .datestamp when a field is blank

A sentence with no fix can have blank date and time fields, for
example $GPRMC,,V,,,,,,,,,N. Reading .datetime on it raised TypeError
because datetime.combine was given None. An empty ZDA sentence raised
TypeError when reading .datestamp, for the same reason.

Now .datetime returns None when the timestamp or datestamp is blank,
and ZDA.datestamp returns None when the day, month or year is blank.
The check is in the DatetimeFix mixin, so proprietary sentences that
use it behave the same way. Sentences with every field present behave
as before, and the coordinate helpers still return 0.0 for blank
coordinates.

Adds regression tests for the RMC and ZDA cases.

Refs #94

Co-authored-by: Erfouni <erfan.mohamadboland@gmail.com>

4 of 4 new or added lines in 2 files covered. (100.0%)

786 of 806 relevant lines covered (97.52%)

6.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41536215487.1 02 Nov 2026 10:19PM UTC 22
97.51
GitHub Action Run
2 41536215487.2 02 Nov 2026 10:19PM UTC 22
97.52
GitHub Action Run
3 41536215487.3 02 Nov 2026 10:19PM UTC 22
97.52
GitHub Action Run
4 41536215487.4 02 Nov 2026 10:19PM UTC 22
97.51
GitHub Action Run
5 41536215487.5 02 Nov 2026 10:19PM UTC 22
97.52
GitHub Action Run
6 41536215487.6 02 Nov 2026 10:20PM UTC 22
97.52
GitHub Action Run
7 41536215487.7 02 Nov 2026 10:24PM UTC 22
97.52
GitHub Action Run
Source Files on build 41536215487
  • Tree
  • List 22
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 31908769 on github
  • Prev Build on master (#24750297128)
  • Next Build on master (#41538133103)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc