Skip to content

Commit

Permalink
fix asv
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Sep 23, 2022
1 parent 6a8bedf commit a5a4cf0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions asv_bench/benchmarks/tslibs/offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ def setup(self, offset):
self.date = datetime(2011, 1, 1)
self.dt64 = np.datetime64("2011-01-01 09:00Z")

def time_apply(self, offset):
offset.apply(self.date)

def time_apply_np_dt64(self, offset):
offset.apply(self.dt64)
def time_add_np_dt64(self, offset):
offset + self.dt64

def time_add(self, offset):
self.date + offset
Expand Down

0 comments on commit a5a4cf0

Please sign in to comment.