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

PulpQE / pulp-smash / 213 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2016 04:54PM UTC
Files 6
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

03 Feb 2016 04:46PM UTC coverage: 78.198% (-0.4%) from 78.571%
213.1

push

travis-ci

Ichimonji10
Do not measure coverage for unreachable code paths

Consider the following block of code:

    try:  # try Python 3 import first
        from urllib.parse import urljoin
    except ImportError:
        from urlparse import urljoin

If Python 2 executes this block of code, all four statements will be evaluated.
If Python 2 executes this block of code, only the first two statements will be
evaluated. As a result, Python 2 and Python 3 will give different unit test
coverage numbers. Address this issue by ignoring coverage for code branches that
are unreachable under a given version of Python. Results:

    ===========  ======  =====
    Python Ver.  Before  After
    ===========  ======  =====
    2            79%     78%
    3            77%     78%
    ===========  ======  =====

269 of 344 relevant lines covered (78.2%)

0.78 hits per line

Source Files on job 213.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 213
  • Travis Job 213.1
  • 6b704f8e on github
  • Prev Job for on master (#211.1)
  • Next Job for on master (#217.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