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

PulpQE / pulp-smash / 213
63%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2016 04:54PM UTC
Jobs 4
Files 6
Run time 17s
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
213

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%)

3.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 213.1 03 Feb 2016 04:54PM UTC 0
78.2
Travis Job 213.1
2 213.2 03 Feb 2016 04:54PM UTC 0
78.2
Travis Job 213.2
3 213.3 03 Feb 2016 04:54PM UTC 0
78.2
Travis Job 213.3
4 213.4 03 Feb 2016 04:54PM UTC 0
78.2
Travis Job 213.4
Source Files on build 213
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #213
  • 6b704f8e on github
  • Prev Build on master (#211)
  • Next Build on master (#217)
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