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

jakirkham / xnumpy / 57 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.1.3
DEFAULT BRANCH: master
Ran 09 Mar 2017 04:05PM UTC
Files 3
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 04:02PM UTC coverage: 100.0%. Remained the same
PYVER="3.6"

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 some doctests 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.

64 of 64 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 57.1 (PYVER="3.6")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 57
  • Travis Job 57.1
  • 94746214 on github
  • Prev Job for PYVER="3.6" on fix_doctests_win (#56.1)
  • Next Job for PYVER="3.6" on fix_doctests_win (#65.1)
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