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

jakirkham / npctypes / 91
100%
master: 100%

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

push

travis-ci

jakirkham
Fix doctest on Windows by making shape of `long`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 go ahead and convert the
shape to `long` values on all platforms regardless of what that means.
This should stabilize the representation of these values across
platforms.

58 of 58 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
4 91.4 (PYVER="2.7") 09 Mar 2017 03:39PM UTC 0
100.0
Travis Job 91.4
Source Files on build 91
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #91
  • b5d5e8df on github
  • Prev Build on fix_doctest_win_2 (#86)
  • Next Build on fix_doctest_win_2 (#93)
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