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

hardbyte / python-can / 45073168822
74%

Build:
DEFAULT BRANCH: main
Ran 22 Nov 2026 09:39PM UTC
Jobs 21
Files 91
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

22 Nov 2026 09:37PM UTC coverage: 71.469%. Remained the same
45073168822

push

github

web-flow
canutils: read candump error frames of every class as error frames (#2146)

* canutils: read every candump error frame as an error frame

candump writes an error frame as CAN_ERR_FLAG plus the error class bits,
followed by the error data bytes. The reader only recognised the bus error
class, so a controller problem (20000004#...) or bus off frame was read as
an extended data frame, and a bus error frame lost its channel, direction
and data bytes.

Test CAN_ERR_FLAG alone and keep the class bits in arbitration_id, as the
SocketCAN interface does, together with the data bytes, channel and
direction. The writer now writes the message's error class instead of
always writing the bus error class, so an error frame round-trips.

* canutils: write an error frame without class bits as a bus error

Older python-can readers recognise a candump error frame only by
CAN_ERR_BUSERROR, so an error frame without class bits (as read from
ASC or BLF) keeps the bus error class on write. The shared error frame
round trip no longer holds for such frames; dedicated tests cover it.
Rename the news fragment to the PR number.

5 of 5 new or added lines in 1 file covered. (100.0%)

7838 of 10967 relevant lines covered (71.47%)

13.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unittests-windows-latest-py312 - 45073168822.1 22 Nov 2026 09:39PM UTC 91
69.13
GitHub Action Run
2 Unittests-windows-latest-py314 - 45073168822.2 22 Nov 2026 09:39PM UTC 91
68.79
GitHub Action Run
3 Unittests-windows-latest-py315 - 45073168822.3 22 Nov 2026 09:39PM UTC 91
65.39
GitHub Action Run
4 Unittests-macos-latest-pypy312 - 45073168822.4 22 Nov 2026 09:42PM UTC 91
63.0
GitHub Action Run
5 Unittests-ubuntu-latest-py314 - 45073168822.5 22 Nov 2026 09:39PM UTC 91
66.63
GitHub Action Run
6 Unittests-ubuntu-latest-py312 - 45073168822.6 22 Nov 2026 09:39PM UTC 91
66.86
GitHub Action Run
7 Unittests-ubuntu-latest-py311 - 45073168822.7 22 Nov 2026 09:39PM UTC 91
66.86
GitHub Action Run
8 Unittests-ubuntu-latest-py315 - 45073168822.8 22 Nov 2026 09:40PM UTC 91
65.04
GitHub Action Run
9 Unittests-macos-latest-py311 - 45073168822.9 22 Nov 2026 09:39PM UTC 91
64.54
GitHub Action Run
10 Unittests-macos-latest-py312 - 45073168822.10 22 Nov 2026 09:40PM UTC 91
64.54
GitHub Action Run
11 Unittests-macos-latest-py315 - 45073168822.11 22 Nov 2026 09:39PM UTC 91
62.71
GitHub Action Run
12 Unittests-windows-latest-py311 - 45073168822.12 22 Nov 2026 09:39PM UTC 91
69.13
GitHub Action Run
13 Unittests-macos-latest-pypy311 - 45073168822.13 22 Nov 2026 09:40PM UTC 91
63.0
GitHub Action Run
14 Unittests-ubuntu-latest-py313 - 45073168822.14 22 Nov 2026 09:39PM UTC 91
66.86
GitHub Action Run
15 Unittests-windows-latest-pypy312 - 45073168822.15 22 Nov 2026 09:42PM UTC 91
64.73
GitHub Action Run
16 Unittests-ubuntu-latest-pypy312 - 45073168822.16 22 Nov 2026 09:41PM UTC 91
63.33
GitHub Action Run
17 Unittests-macos-latest-py313 - 45073168822.17 22 Nov 2026 09:39PM UTC 91
64.54
GitHub Action Run
18 Unittests-ubuntu-latest-pypy311 - 45073168822.18 22 Nov 2026 09:39PM UTC 91
63.36
GitHub Action Run
19 Unittests-windows-latest-pypy311 - 45073168822.19 22 Nov 2026 09:40PM UTC 91
64.73
GitHub Action Run
20 Unittests-macos-latest-py314 - 45073168822.20 22 Nov 2026 09:39PM UTC 91
64.29
GitHub Action Run
21 Unittests-windows-latest-py313 - 45073168822.21 22 Nov 2026 09:39PM UTC 91
69.01
GitHub Action Run
Source Files on build 45073168822
  • Tree
  • List 91
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45073168822
  • 71c8da03 on github
  • Prev Build on main (#45071156020)
  • Next Build on main (#45074527813)
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