MCPcopy
hub / github.com/pandas-dev/pandas / test_special_holidays

Function test_special_holidays

pandas/tests/tseries/holiday/test_holiday.py:233–240  ·  view source on GitHub ↗
(name, kwargs)

Source from the content-addressed store, hash-verified

231 ],
232)
233def test_special_holidays(name, kwargs):
234 base_date = [datetime(2012, 5, 28)]
235 holiday = Holiday(name, **kwargs)
236
237 start_date = datetime(2011, 1, 1)
238 end_date = datetime(2020, 12, 31)
239
240 assert base_date == holiday.dates(start_date, end_date)
241
242
243def test_get_calendar():

Callers

nothing calls this directly

Calls 2

datesMethod · 0.95
HolidayClass · 0.90

Tested by

no test coverage detected