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

xolox / python-executor / 280 / 5
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 13 May 2020 10:08PM UTC
Files 11
Run time 1s
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

13 May 2020 10:05PM UTC coverage: 92.25% (+0.9%) from 91.387%
280.5

push

travis-ci

xolox
Uncover Python 2.7 inconsistency in test suite

It turns out that while shlex.split() on Python 2.7 accepts Unicode
strings it doesn't actually support them: The result is a list of byte
strings and any values that ASCII doesn't support result in an error.

This causes the values (but not the keys) in the dictionary provided by
'lsb_release_variables' to become byte strings which in turn causes
'distributor_id' and 'distribution_codename' to become byte strings
(when those properties are based on 'lsb_release_variables').

However when 'distributor_id' and 'distribution_codename' are based on
the output of the 'lsb_release' program the values become Unicode
strings, so this unfortunate behavior of shlex.split() is causing very
inconsistent behavior in my other carefully designed Python API 😕.

1464 of 1587 relevant lines covered (92.25%)

0.92 hits per line

Source Files on job 280.5
  • Tree
  • List 0
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 268
  • Travis Job 280.5
  • de71c81d on github
  • Prev Job for on dev (#279.1)
  • Next Job for on dev (#281.1)
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