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

quantopian / zipline / 6901
88%

Build:
DEFAULT BRANCH: master
Ran 19 Jul 2016 05:41PM UTC
Jobs 4
Files 154
Run time 209min
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
6901

push

travis-ci

web-flow
BUG: Further corrections for days_at_time (#1334)

* BUG: Further corrections for days_at_time

- Revert to using DateOffset, as Timedelta doesn't handle offsetting by
  one day over a tz change properly:

    In [12]: pd.Timestamp('2004-04-05', tz='America/Chicago') + pd.Timedelta(days=-1)
    Out[12]: Timestamp('2004-04-03 23:00:00-0600', tz='America/Chicago')

    In [13]: pd.Timestamp('2004-04-05', tz='America/Chicago') + pd.DateOffset(days=-1)
    Out[13]: Timestamp('2004-04-04 00:00:00-0600', tz='America/Chicago')

  By creating a DateOffset using the `days` kwarg, the issue previously
  fixed in bcc867b is addressed.

- To preempt any other pandas issues around day offsets, changes to
  performing these with no timezone, then localizing to the local
  timezone when shifting the time.
- Adds unit test for days_at_time

* STY: Remove unused import

10602 of 12668 relevant lines covered (83.69%)

3.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6901.1 (PANDAS_VERSION=0.16.1 NUMPY_VERSION=1.9.2 SCIPY_VERSION=0.15.1) 19 Jul 2016 09:06PM UTC 0
83.64
Travis Job 6901.1
2 6901.2 (PANDAS_VERSION=0.17.1 NUMPY_VERSION=1.10.4 SCIPY_VERSION=0.16.1) 19 Jul 2016 09:09PM UTC 0
83.63
Travis Job 6901.2
3 6901.3 (PANDAS_VERSION=0.16.1 NUMPY_VERSION=1.9.2 SCIPY_VERSION=0.15.1) 19 Jul 2016 09:10PM UTC 0
83.58
Travis Job 6901.3
4 6901.4 (PANDAS_VERSION=0.17.1 NUMPY_VERSION=1.10.4 SCIPY_VERSION=0.16.1) 19 Jul 2016 09:11PM UTC 0
83.57
Travis Job 6901.4
Source Files on build 6901
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6901
  • 6cebf054 on github
  • Prev Build on master (#6900)
  • Next Build on master (#6913)
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