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

zarr-developers / zarr / 1295 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2019 06:58PM UTC
Files 29
Run time 3s
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

03 Jan 2019 06:45PM UTC coverage: 98.828% (-0.6%) from 99.402%
1295.3

push

travis-ci

web-flow
Always use `tuple`s for multidimensional indexing (#376)

* Always use `tuple`s for multidimensional indexing

NumPy 1.15.0 deprecates the use of sequences in `ndarray` selection for
sequences other than `tuple`s. We have a few cases where we are using
`list`s instead as they are mutable. Thus are easier to build up and
change. However passing `list`s into `ndarray` selection will cause this
`FutureWarning` to be emitted (and will eventually result in an error).

To fix this simply, just convert these `list`s to `tuple`s after we are
done changing their contents, but before we use them with `ndarray`s.
This works just as well on older versions of NumPy. Avoids the
`FutureWarning` in NumPy 1.15.0+. Not to mention this will continue to
work on future versions of NumPy, which may change this warning into an
error.

* Note use of `tuple`s for slicing NumPy `ndarrays`

8262 of 8360 relevant lines covered (98.83%)

0.99 hits per line

Source Files on job 1295.3
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1228
  • Travis Job 1295.3
  • d7ad9fbd on github
  • Prev Job for on master (#1294.4)
  • Next Job for on master (#1334.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

© 2026 Coveralls, Inc