Skip to content

Commit 1fa55d2

Browse files
jbrockmendeljorisvandenbossche
authored andcommitted
BENCH: fix timestamp asvs (#18684)
1 parent ba3a442 commit 1fa55d2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

asv_bench/benchmarks/timestamp.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
class TimestampProperties(object):
77
goal_time = 0.2
88

9-
params = [(None, None),
10-
(pytz.timezone('Europe/Amsterdam'), None),
11-
(None, 'B'),
12-
(pytz.timezone('Europe/Amsterdam'), 'B')]
9+
_tzs = [None, pytz.timezone('Europe/Amsterdam')]
10+
_freqs = [None, 'B']
11+
params = [_tzs, _freqs]
1312
param_names = ['tz', 'freq']
1413

1514
def setup(self, tz, freq):

0 commit comments

Comments
 (0)