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

hardbyte / python-can / 45898303209
74%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 09:29PM 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

26 Nov 2026 09:27PM UTC coverage: 74.063% (+0.5%) from 73.524%
45898303209

push

github

web-flow
socketcand: read handshake replies from the stream buffer (#2150)

* socketcand: read handshake replies from the stream buffer

The handshake compared a single recv() with the expected reply. TCP may
split a reply over several reads, and after "< rawmode >" socketcand can
send the first frames in the same segment as "< ok >". Both raised
CanError during the bus constructor.

Collect data until a whole reply is in the receive buffer, compare only
that reply and keep anything after it, so frames that arrived with the
reply are returned by recv().

* Add news fragment

* socketcand: fail early when the handshake reply cannot be from socketcand

Raise CanInitializationError instead of blocking when the server sends
data that does not start with '<' (e.g. another service on that port).

30 of 42 new or added lines in 1 file covered. (71.43%)

8161 of 11019 relevant lines covered (74.06%)

14.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
66.82
29.51% can/interfaces/socketcand/socketcand.py
Jobs
ID Job ID Ran Files Coverage
1 Unittests-windows-latest-py313 - 45898303209.1 26 Nov 2026 09:29PM UTC 91
71.52
GitHub Action Run
2 Unittests-windows-latest-py314 - 45898303209.2 26 Nov 2026 09:29PM UTC 91
71.31
GitHub Action Run
3 Unittests-ubuntu-latest-py313 - 45898303209.3 26 Nov 2026 09:29PM UTC 91
72.73
GitHub Action Run
4 Unittests-macos-latest-py315 - 45898303209.4 26 Nov 2026 09:30PM UTC 91
68.58
GitHub Action Run
5 Unittests-macos-latest-pypy312 - 45898303209.5 26 Nov 2026 09:31PM UTC 91
68.82
GitHub Action Run
6 Unittests-windows-latest-py315 - 45898303209.6 26 Nov 2026 09:29PM UTC 91
67.94
GitHub Action Run
7 Unittests-windows-latest-pypy311 - 45898303209.7 26 Nov 2026 09:31PM UTC 91
67.25
GitHub Action Run
8 Unittests-macos-latest-py314 - 45898303209.8 26 Nov 2026 09:29PM UTC 91
70.15
GitHub Action Run
9 Unittests-ubuntu-latest-py315 - 45898303209.9 26 Nov 2026 09:29PM UTC 91
70.95
GitHub Action Run
10 Unittests-macos-latest-py311 - 45898303209.10 26 Nov 2026 09:29PM UTC 91
70.37
GitHub Action Run
11 Unittests-ubuntu-latest-py312 - 45898303209.11 26 Nov 2026 09:29PM UTC 91
72.73
GitHub Action Run
12 Unittests-macos-latest-pypy311 - 45898303209.12 26 Nov 2026 09:31PM UTC 91
68.84
GitHub Action Run
13 Unittests-windows-latest-py311 - 45898303209.13 26 Nov 2026 09:29PM UTC 91
71.64
GitHub Action Run
14 Unittests-ubuntu-latest-pypy311 - 45898303209.14 26 Nov 2026 09:30PM UTC 91
69.39
GitHub Action Run
15 Unittests-macos-latest-py313 - 45898303209.15 26 Nov 2026 09:30PM UTC 91
70.37
GitHub Action Run
16 Unittests-ubuntu-latest-py311 - 45898303209.16 26 Nov 2026 09:29PM UTC 91
72.73
GitHub Action Run
17 Unittests-windows-latest-pypy312 - 45898303209.17 26 Nov 2026 09:33PM UTC 91
67.27
GitHub Action Run
18 Unittests-macos-latest-py312 - 45898303209.18 26 Nov 2026 09:29PM UTC 91
70.37
GitHub Action Run
19 Unittests-windows-latest-py312 - 45898303209.19 26 Nov 2026 09:29PM UTC 91
71.64
GitHub Action Run
20 Unittests-ubuntu-latest-pypy312 - 45898303209.20 26 Nov 2026 09:30PM UTC 91
69.44
GitHub Action Run
21 Unittests-ubuntu-latest-py314 - 45898303209.21 26 Nov 2026 09:29PM UTC 91
72.52
GitHub Action Run
Source Files on build 45898303209
  • 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 #45898303209
  • e367271a on github
  • Prev Build on main (#45897167220)
  • Next Build on main (#45899526068)
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