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

jakirkham / npctypes / 94
100%

Build:
DEFAULT BRANCH: master
Ran 09 Mar 2017 03:42PM UTC
Jobs 4
Files 4
Run time 2min
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
94

Pull #12

travis-ci

web-flow
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.
Pull Request #12: Fix doctest on Windows by forcing shape of `int`s

58 of 58 relevant lines covered (100.0%)

4.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 94.1 (PYVER="3.6") 09 Mar 2017 03:42PM UTC 0
100.0
Travis Job 94.1
2 94.2 (PYVER="3.5") 09 Mar 2017 03:43PM UTC 0
100.0
Travis Job 94.2
3 94.3 (PYVER="3.4") 09 Mar 2017 03:44PM UTC 0
100.0
Travis Job 94.3
4 94.4 (PYVER="2.7") 09 Mar 2017 03:44PM UTC 0
100.0
Travis Job 94.4
Source Files on build 94
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #94
  • Pull Request #12
  • PR Base - master (#85)
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