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

jakirkham / npctypes
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.0.5
DEFAULT BRANCH: master
Repo Added 03 Oct 2016 06:14PM UTC
Files 4
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

LAST BUILD ON BRANCH fix_doctest_win_2
branch: fix_doctest_win_2
CHANGE BRANCH
x
Reset
  • fix_doctest_win_2
  • config_pypi_deploy
  • fix_doctest_win
  • master
  • q_sec_str
  • recut_cookie
  • req_numpy
  • shared_arrays
  • update_doc_copyright
  • use_cookie_tmplt
  • use_np_113_print_style_doctests
  • v0.0.1
  • v0.0.2
  • v0.0.3
  • v0.0.4
  • v0.0.5
  • versioneer_0.17

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

Relevant lines Covered
Build:
Build:
58 RELEVANT LINES 58 COVERED LINES
4.0 HITS PER LINE
Source Files on fix_doctest_win_2
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
93 fix_doctest_win_2 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... push 09 Mar 2017 03:41PM UTC jakirkham travis-ci pending completion  
91 fix_doctest_win_2 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... push 09 Mar 2017 03:39PM UTC jakirkham travis-ci pending completion  
86 fix_doctest_win_2 Represent the shape as a `tuple` 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 l... push 09 Mar 2017 03:35PM UTC jakirkham travis-ci pending completion  
See All Builds (94)
  • Repo on GitHub
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