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

mrocklin / dask / 2909
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: astype-passthrough
DEFAULT BRANCH: master
Ran 29 Aug 2019 03:24AM UTC
Jobs 1
Files 109
Run time 15s
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
2909

push

travis-ci

web-flow
Fixup da.asarray and da.asanyarray for datetime64 dtype and xarray objects (#5334)

* Fixup da.asarray and da.asanyarray for datetime64 dtype and xarray objects.

`da.asanyarray()` current crashes if passed a datetime64 dtype array, as noted
in https://github.com/pydata/xarray/pull/3220:

    >       elif hasattr(a, "data") and type(a).__module__.startswith("xarray."):
    E       ValueError: cannot include dtype 'M' in a buffer

Reversing the order of these checks fixes the issue.

I also adjusted `da.asarray()` to coerce xarray objects in the same way as
`da.asanyarray()`.

* Update dask/array/tests/test_xarray.py

Co-Authored-By: Matthew Rocklin <mrocklin@gmail.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

18507 of 20004 relevant lines covered (92.52%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2909.2 (ENV_FILE=continuous_integration/travis/travis-36.yaml TEST='true' LINT='true' COVERAGE='true' PARALLEL='false' XTRATESTARGS= TEST_IMPORTS='true') 29 Aug 2019 03:24AM UTC 0
92.52
Travis Job 2909.2
Source Files on build 2909
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2909
  • bf66e7cc 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

© 2026 Coveralls, Inc