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

nickstenning / honcho
50%
master: 65%

Build:
Build:
LAST BUILD BRANCH: v0.6.6
DEFAULT BRANCH: master
Repo Added 09 Mar 2014 05:13PM UTC
Files 8
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 utf8-environ
branch: utf8-environ
CHANGE BRANCH
x
Reset
  • utf8-environ
  • better-export
  • fix-newlines
  • master
  • msabramo-patch-1
  • requires-io-master
  • runit
  • travis-wheel
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.6.5
  • v0.6.6

pending completion
321

push

travis-ci

Nick Stenning
Replace string_escape with simple replacements

Holy mother of God. Making string_escape work across Python 2 and 3 is
an absolute nightmare. The bytes-to-bytes encoders were removed in
Python 3, so the only way to use them is to use unicode_escape directly
from the codecs package, but this makes a complete hash of the task if
the data you give it contains unescaped unicode:

    >>> codecs.decode('åéïò', 'unicode_escape')
    'åéïò'
    >>> codecs.decode('åéïò'.encode('utf8'), 'unicode_escape')
    'åéïò'

WTF!? Anyway. Life is too short. This will make the tests pass.

Fixes #128.

270 of 543 relevant lines covered (49.72%)

1.99 hits per line

Relevant lines Covered
Build:
Build:
543 RELEVANT LINES 270 COVERED LINES
1.99 HITS PER LINE
Source Files on utf8-environ
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
321 utf8-environ Replace string_escape with simple replacements Holy mother of God. Making string_escape work across Python 2 and 3 is an absolute nightmare. The bytes-to-bytes encoders were removed in Python 3, so the only way to use them is to use unicode_escap... push 16 Mar 2015 10:20PM UTC Nick Stenning travis-ci pending completion  
320 utf8-environ Replace string_escape with simple replacements Holy mother of God. Making string_escape work across Python 2 and 3 is an absolute nightmare. The bytes-to-bytes encodes were removed in Python 3, so the only way to use them is to use unicode_escape... push 16 Mar 2015 10:17PM UTC Nick Stenning travis-ci pending completion  
See All Builds (206)
  • 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