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

jakirkham / npctypes / 93 / 4
100%
master: 100%

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

09 Mar 2017 03:37PM UTC coverage: 100.0%. Remained the same
PYVER="2.7"

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

1.0 hits per line

Source Files on job 93.4 (PYVER="2.7")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 93
  • Travis Job 93.4
  • 41485647 on github
  • Prev Job for PYVER="2.7" on fix_doctest_win_2 (#91.4)
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

© 2026 Coveralls, Inc