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

certbot / certbot / 7726
99%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2017 01:32PM UTC
Jobs 1
Files 187
Run time 10s
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

pending completion
7726

push

travis-ci

web-flow
Hide exceptions that occur during session.close() (#4891)

* Hide exceptions that occur during session.close()

This fixes #4840. Exceptions that are raised out of __del__ methods are caught
and printed to stderr. By catching any exceptions that occur, we now prevent
this from happening.

Alternative solutions to this would have been either not calling
session.close() at all or adding a close() method to acme.client.ClientNetwork,
acme.client.Client, and certbot.client.Client and using certbot.client.Client
in a context manager to ensure close() is called. The former means that users
of the ACME library never properly close their connections until their program
exits and the latter adds a lot of complexity and nesting of client code for
little benefit.

* Only catch Exceptions

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

20817 of 21069 relevant lines covered (98.8%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7726.1 (TOXENV=cover) 05 Jul 2017 01:32PM UTC 0
98.8
Travis Job 7726.1
Source Files on build 7726
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7726
  • 53189452 on github
  • Prev Build on master (#7720)
  • Next Build on master (#7729)
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

© 2026 Coveralls, Inc