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

DiffSK / configobj / 184
82%

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2017 10:36AM UTC
Jobs 9
Files 3
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
184

push

travis-ci

jhermann
Always return unicode when encoding is given (closes #18)

As reported in github issue #18 when a file-like object is
given and the encoding param is passed configobj fails to
decode the data on Python 2. This is a regression from
the 4.7 releases.

Fix is simply to check first for binary types in _decode()
helper as six.string_types includes the bytes str type
on Python 2.

2 of 2 new or added lines in 1 file covered. (100.0%)

1122 of 1384 relevant lines covered (81.07%)

3.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/configobj/__init__.py
Jobs
ID Job ID Ran Files Coverage
3 184.3 (TOX_ENV=py) 28 Feb 2017 10:36AM UTC 0
80.64
Travis Job 184.3
4 184.4 (TOX_ENV=flake8) 28 Feb 2017 10:36AM UTC 0
Travis Job 184.4
5 184.5 (TOX_ENV=py) 28 Feb 2017 10:36AM UTC 0
80.64
Travis Job 184.5
6 184.6 (TOX_ENV=flake8) 28 Feb 2017 10:37AM UTC 0
Travis Job 184.6
7 184.7 (TOX_ENV=py) 28 Feb 2017 10:38AM UTC 0
80.64
Travis Job 184.7
8 184.8 (TOX_ENV=flake8) 28 Feb 2017 10:37AM UTC 0
Travis Job 184.8
9 184.9 (TOX_ENV=py) 28 Feb 2017 10:38AM UTC 0
80.64
Travis Job 184.9
10 184.10 (TOX_ENV=flake8) 28 Feb 2017 10:38AM UTC 0
Travis Job 184.10
12 184.12 (TOX_ENV=flake8) 28 Feb 2017 10:39AM UTC 0
Travis Job 184.12
Source Files on build 184
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #184
  • efde6577 on github
  • Prev Build on master (#183)
  • Next Build on master (#185)
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