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

mtreinish / stestr / 1129
69%
master: 68%

Build:
Build:
LAST BUILD BRANCH: gha-ci
DEFAULT BRANCH: master
Ran 08 Sep 2019 10:29PM UTC
Jobs 1
Files 33
Run time 3s
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
1129

push

travis-ci

mtreinish
Stop encoding attachments text

The attachments text in print_attachments() for the subunit_trace output
was encoding the text as utf8 for some reason which made the text of
type bytes. When bytes objects are printed by python 3 they're marked as
bytes by wrapping the text in b''. However this encode is unecessary (and
would likely break unicode characters) as just writing the str literals
for each line to the output stream works just fine. The encode() call was
added in [1] before stestr was started, and was just added for the case
of using LANG=C to set their locale to ASCII C. This was also before the
adoption of PEP 538 [2] which makes python use unicode even if LANG=C is
set. So removing the encode for supporting that use case shouldn't
matter anymore.

Fixes #243

[1] https://review.opendev.org/#/c/229527/
[2] https://www.python.org/dev/peps/pep-0538

472 of 837 branches covered (56.39%)

1760 of 2566 relevant lines covered (68.59%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1129.4 (TOXENV=cover) 08 Sep 2019 10:29PM UTC 0
68.59
Travis Job 1129.4
Source Files on build 1129
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1129
  • 4f65a4d3 on github
  • Prev Build on fix-encoding-py3 (#1128)
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