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

Alir3z4 / html2text / 257
97%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2016 01:20PM UTC
Jobs 7
Files 5
Run time 2min
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
257

push

travis-ci

theSage21
Fix DeprecationWarning on Python3: use html.escape (#126)

* Fix DeprecationWarning on Python3: use html.escape

* Move `escape` to the compat module.

Also fix the apostrophe test in Python 3. This caused by a behavior change in
`html.escape` compared to `cgi.escape`. `cgi.escape` only quotes double
quotes, whereas `html.escape` also takes single quotes (apostrophe) into
account. The workaround is to pass `quote=False` to `html.escape`.

See https://docs.python.org/2/library/cgi.html#cgi.escape and
https://docs.python.org/3/library/html.html#html.escape

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

838 of 861 relevant lines covered (97.33%)

6.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 257.1 20 Jul 2016 01:20PM UTC 0
95.47
Travis Job 257.1
2 257.2 20 Jul 2016 01:20PM UTC 0
95.12
Travis Job 257.2
3 257.3 20 Jul 2016 01:20PM UTC 0
95.24
Travis Job 257.3
4 257.4 20 Jul 2016 01:20PM UTC 0
95.93
Travis Job 257.4
5 257.5 20 Jul 2016 01:20PM UTC 0
95.93
Travis Job 257.5
6 257.6 20 Jul 2016 01:21PM UTC 0
95.93
Travis Job 257.6
7 257.7 20 Jul 2016 01:22PM UTC 0
96.05
Travis Job 257.7
Source Files on build 257
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #257
  • d3247c2a on github
  • Prev Build on master (#255)
  • Next Build on master (#258)
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