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

jakirkham / xnumpy
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.1.3
DEFAULT BRANCH: master
Repo Added 18 Oct 2016 09:45PM UTC
Files 3
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_doctests_win
branch: fix_doctests_win
CHANGE BRANCH
x
Reset
  • fix_doctests_win
  • add_indices
  • conf_dpl
  • fix_pep8_kwarg_doctest
  • master
  • recut_cookie
  • reuse_arr_expand_doctest
  • reuse_arrs_doctests
  • update_doc_copyright
  • use_np_113_print_style_doctests
  • use_ternary_indices
  • v0.1.0
  • v0.1.1
  • v0.1.2
  • v0.1.3
  • versioneer_0.17

pending completion
78

push

travis-ci

jakirkham
Switch all doctest arrays from `int64` to `uint64`

It appears that on Windows the dtype will be displayed as part of the
NumPy array representation if it is `int32` on Python 3, but not Python
2. However, it will display the dtype as part of the NumPy array
representation on both Python 2 and 3 if it is `int64`. This contrasts
with Unix where a NumPy `int64` array does not have its dtype included
in the representation. To avoid this annoying issue, just pick a type
that will always show up in NumPy's array representation regardless of
OS or Python version. In particular, we pick `uint64`, which already
works for all of the arrays we have created. This way the doctests
should run without issues everywhere.

63 of 63 relevant lines covered (100.0%)

4.0 hits per line

Relevant lines Covered
Build:
Build:
63 RELEVANT LINES 63 COVERED LINES
4.0 HITS PER LINE
Source Files on fix_doctests_win
  • 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
78 fix_doctests_win Switch all doctest arrays from `int64` to `uint64` It appears that on Windows the dtype will be displayed as part of the NumPy array representation if it is `int32` on Python 3, but not Python 2. However, it will display the dtype as part of the ... push 09 Mar 2017 06:38PM UTC jakirkham travis-ci pending completion  
75 fix_doctests_win Specify array types in doctests On Windows, it appears that the default integer type used by NumPy is `int32` if not otherwise specified. As these tests are based on using `int64`, just explicitly set this type instead of allowing it to be picked... push 09 Mar 2017 06:24PM UTC jakirkham travis-ci pending completion  
70 fix_doctests_win Specify array types in doctests On Windows, it appears that the default integer type used by NumPy is `int32` if not otherwise specified. As these tests are based on using `int64`, just explicitly set this type instead of allowing it to be picked... push 09 Mar 2017 06:01PM UTC jakirkham travis-ci pending completion  
66 fix_doctests_win Specify array types in doctests On Windows, it appears that the default integer type used by NumPy is `int32` if not otherwise specified. As these tests are based on using `int64`, just explicitly set this type instead of allowing it to be picked... push 09 Mar 2017 05:53PM UTC jakirkham travis-ci pending completion  
65 fix_doctests_win Specify array types in doctests On Windows, it appears that the default integer type used by NumPy is `int32` if not otherwise specified. As these tests are based on using `int64`, just explicitly set this type instead of allowing it to be picked... push 09 Mar 2017 05:47PM UTC jakirkham travis-ci pending completion  
57 fix_doctests_win 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 04:05PM UTC jakirkham travis-ci pending completion  
56 fix_doctests_win Merge pull request #7 from jakirkham/recut_cookie Recut with cookiecutter push 09 Mar 2017 04:02PM UTC web-flow travis-ci pending completion  
See All Builds (55)
  • 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