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

hardbyte / python-can
70%
main: 71%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/github-actions-323b5e2864
DEFAULT BRANCH: main
Repo Added 14 Nov 2022 05:57AM UTC
Files 91
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

LAST BUILD ON BRANCH refs/tags/v4.4.0-rc.1
branch: refs/tags/v4.4.0-rc.1
CHANGE BRANCH
x
Reset
  • refs/tags/v4.4.0-rc.1
  • ASCWriter-speed
  • SW-13543-update-asc-file-start-time
  • USE_WINDOWS_EVENTS
  • add_can_bridge
  • bcm-win-event-resume-bug
  • bfl-float-arithmetic-fix
  • blf-factor-constants
  • blf-timestamp-offset-fix
  • bugfix/udp_multicast-on-windows
  • changelog-4.6.1
  • ci-config
  • cli-api
  • dep-groups
  • dependabot-config
  • dependabot/github_actions/github-actions-323b5e2864
  • dependabot/uv/dev-deps-94dee350dd
  • dependabot/uv/hypothesis-gte-6.136-and-lt-6.138
  • dependabot/uv/ruff-0.12.8
  • detect-config-threaded
  • develop
  • docs-spring-clean
  • feature/coveralls
  • feature/no-init-access-support-for-kvaser
  • felixdivo-patch-1
  • felixdivo-patch-2
  • felixdivo-tiny-doc-formatting
  • fix-default-setting-for-set-bitrate
  • fix-flaky-test
  • fix-kvaser-is-rx
  • fix1905
  • fix_slcan
  • fix_typo
  • fix_udpmulti_macos
  • io-typing2
  • loop-arg
  • macos-config-file
  • main
  • mf4-s-dir
  • more-typing-fixes
  • neovi-NetworkID2
  • neovi-epoch
  • neovi-for-release-4.2
  • neovi-is-bus-open
  • neovi-serial-range
  • new-release
  • notifier_registry
  • pcan-busstate
  • pcan-channel
  • pcapng-io
  • process_socketcand_error_messages
  • pypy-timeout
  • python-can-coe-interface
  • python39
  • pywin32-req-env-marker
  • read-blf-metadata
  • refs/tags/4.1.0-alpha0
  • refs/tags/4.1.0-alpha1
  • refs/tags/v4.1.0
  • refs/tags/v4.1.0a2
  • refs/tags/v4.2.0
  • refs/tags/v4.2.0rc0
  • refs/tags/v4.2.1
  • refs/tags/v4.2.2
  • refs/tags/v4.3.0
  • refs/tags/v4.3.0rc0
  • refs/tags/v4.3.1
  • refs/tags/v4.3.2-rc.1
  • refs/tags/v4.3.2-rc.3
  • refs/tags/v4.3.2-rc.4
  • refs/tags/v4.4.0
  • refs/tags/v4.4.0-rc.2
  • release-4.1.0
  • release-4.2
  • release-4.2.0
  • release-4.3.0
  • release-4.3.2
  • release-4.4.0
  • release-4.5.0
  • rename-zlg
  • serial-err-rtr-ext
  • slcanFD
  • timestamp64
  • towncrier3
  • trc-read-rtr-support
  • trc_file_writer_add_version_param
  • update-ci-yml
  • update-test-deps
  • update_linters
  • usb2can-logger
  • use-del-improvement-proposal
  • v4.4.1.post1
  • v4.4.2
  • v4.5.0
  • v4.6.0
  • win-periodic

29 Apr 2024 09:51AM UTC coverage: 70.448% (-0.04%) from 70.484%
9397138354

push

github

web-flow
Invert default value logic for BusABC._is_shutdown. (#1774)

The destructor of BusABC gives a warning when shutdown() was not
previously called on the object after construction.  However, if the
construction fails (e.g. when the derived bus class constructor raises
an exception), there is no way to call shutdown() on the unfinished
object, and it is not necessary either.

Initialize the _is_shutdown flag to False initially and flip it to
True only when the parent class constructor runs, which usually
happens last in derived classes.  That avoids the shutdown warning for
objects that failed to initialize at all.

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

5 existing lines in 3 files now uncovered.

7402 of 10507 relevant lines covered (70.45%)

13.36 hits per line

Relevant lines Covered
Build:
Build:
10507 RELEVANT LINES 7402 COVERED LINES
13.36 HITS PER LINE
Source Files on refs/tags/v4.4.0-rc.1
  • Tree
  • List 89
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9397138354 refs/tags/v4.4.0-rc.1 Invert default value logic for BusABC._is_shutdown. (#1774) The destructor of BusABC gives a warning when shutdown() was not previously called on the object after construction. However, if the construction fails (e.g. when the derived bus clas... push 06 Jun 2024 08:05AM UTC web-flow github
70.45
9397138302 refs/tags/v4.4.0-rc.1 Invert default value logic for BusABC._is_shutdown. (#1774) The destructor of BusABC gives a warning when shutdown() was not previously called on the object after construction. However, if the construction fails (e.g. when the derived bus clas... push 06 Jun 2024 08:02AM UTC web-flow github
70.45
See All Builds (868)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc