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

dbrgn / tangible
82%
master: 97%

Build:
Build:
LAST BUILD BRANCH: py3
DEFAULT BRANCH: master
Repo Added 23 Oct 2013 05:49PM UTC
Files 12
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

LAST BUILD ON BRANCH jdb_py3_xrange
branch: jdb_py3_xrange
CHANGE BRANCH
x
Reset
  • jdb_py3_xrange
  • ci
  • master
  • py3
  • test-examples-parametrize
  • v0.2.0
  • v0.2.1
  • v0.2.2

pending completion
100

push

travis-ci

dbrgn
Replace xrange with range.

In Python 3, range is the same as Python 2's xrange.  For small ranges, there isn't much benefit to using a generator instead of just generating a list, so it is simpler to just use range in both versions of Python instead of switching between how it is called depending on Python version when the ranges used are small. In this case, most are smaller than 201 entries, most appear in only test/example code, and it makes no noticable difference in how long tests take to run.

490 of 599 relevant lines covered (81.8%)

0.83 hits per line

Relevant lines Covered
Build:
Build:
599 RELEVANT LINES 490 COVERED LINES
0.83 HITS PER LINE
Source Files on jdb_py3_xrange
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
100 jdb_py3_xrange Replace xrange with range. In Python 3, range is the same as Python 2's xrange. For small ranges, there isn't much benefit to using a generator instead of just generating a list, so it is simpler to just use range in both versions of Python inst... push 12 Nov 2017 12:27AM UTC dbrgn travis-ci pending completion  
See All Builds (86)
  • Repo on GitHub
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