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

jakirkham / npctypes / 93
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.0.5
DEFAULT BRANCH: master
Ran 09 Mar 2017 03:41PM UTC
Jobs 4
Files 4
Run time 1min
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
93

push

travis-ci

jakirkham
Fix doctest on Windows by forcing shape of `int`s

Unfortunately Windows and Unix handle 64-bit integers differently. This
is because on Windows `int` represents 32-bit integers; whereas, on Unix
`int` represents 64-bit integers. As NumPy wants to use large enough
integers to have 64-bit precision, it uses Python's `int` on Unix and
Python's `long` on Windows. This causes a doctest that relies on shape
in `get_ndpointer_type` to fail on Windows. Particularly this fails on
Windows Python 2.7 64-bit. To fix this, we forcibly convert the shape to
`int` values regardless of what that means. This should stabilize the
representation of these values across platforms.

58 of 58 relevant lines covered (100.0%)

4.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 93.1 (PYVER="3.6") 09 Mar 2017 03:41PM UTC 0
100.0
Travis Job 93.1
2 93.2 (PYVER="3.5") 09 Mar 2017 03:42PM UTC 0
100.0
Travis Job 93.2
3 93.3 (PYVER="3.4") 09 Mar 2017 03:41PM UTC 0
100.0
Travis Job 93.3
4 93.4 (PYVER="2.7") 09 Mar 2017 03:43PM UTC 0
100.0
Travis Job 93.4
Source Files on build 93
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #93
  • 41485647 on github
  • Prev Build on fix_doctest_win_2 (#91)
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