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

zarr-developers / zarr / 1295
100%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2019 06:51PM UTC
Jobs 4
Files 29
Run time 7min
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

pending completion
1295

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`

8360 of 8360 relevant lines covered (100.0%)

3.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1295.1 03 Jan 2019 06:51PM UTC 0
98.84
Travis Job 1295.1
2 1295.2 03 Jan 2019 06:53PM UTC 0
98.83
Travis Job 1295.2
3 1295.3 03 Jan 2019 06:58PM UTC 0
98.83
Travis Job 1295.3
4 1295.4 03 Jan 2019 06:55PM UTC 0
99.4
Travis Job 1295.4
Source Files on build 1295
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1295
  • d7ad9fbd on github
  • Prev Build on master (#1294)
  • Next Build on master (#1334)
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