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

zarr-developers / zarr / 1159
100%

Build:
DEFAULT BRANCH: master
Ran 10 Dec 2018 08:34AM UTC
Jobs 4
Files 29
Run time 4min
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
1159

push

travis-ci

alimanfoo
Cast datetime and timedelta to signed 64-bit int (#344)

* Cast datetime and timedelta to signed 64-bit int

The `NaT` type is represented as `-0`. As a result, casting to an
unsigned integral fails and throws an error. However casting to a signed
integral type does not have this problem and proceeds without issues.

* Update datetime/timedelta test to use signed ints

* Test encode/decode of a datetime/timedelta array

Use a structured array with datetime and timedelta values and a fill
value of NaT to test a bunch of different workarounds for encoding and
decoding datetime and timedelta values and array.

* Note improved `NaT` handling in the changelog

* Use `dtype` to cast `NaT` explicitly

* test NaT as fill_value for zarr.full()

* Drop extra whitespace

Should fix the flake8 error seen on CI.

ref: https://travis-ci.org/zarr-developers/zarr/jobs/465075634

8361 of 8361 relevant lines covered (100.0%)

3.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1159.1 10 Dec 2018 08:34AM UTC 0
98.84
Travis Job 1159.1
2 1159.2 10 Dec 2018 08:34AM UTC 0
98.83
Travis Job 1159.2
3 1159.3 10 Dec 2018 08:38AM UTC 0
98.83
Travis Job 1159.3
4 1159.4 10 Dec 2018 08:34AM UTC 0
99.4
Travis Job 1159.4
Source Files on build 1159
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1159
  • 8e18c817 on github
  • Prev Build on master (#1136)
  • Next Build on master (#1160)
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