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

Alir3z4 / html2text / 257 / 3
97%
master: 97%

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

20 Jul 2016 01:18PM UTC coverage: 95.238% (-0.3%) from 95.571%
257.3

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

820 of 861 relevant lines covered (95.24%)

0.95 hits per line

Source Files on job 257.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 257
  • Travis Job 257.3
  • d3247c2a on github
  • Prev Job for on master (#255.3)
  • Next Job for on master (#258.3)
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