def _check_holiday_results(holiday, start, end, expected):
assert list(holiday.dates(start, end)) == expected<EOL>assert (list(holiday.dates(utc.localize(Timestamp(start)),<EOL>utc.localize(Timestamp(end)))) ==<EOL>[utc.localize(dt) for dt in expected])<EOL>
Check that the dates for a given holiday match in date and timezone.

Parameters
----------
holiday : Holiday
    The holiday to check.
start : datetime-like
    The start date of range in which to collect dates for a given holiday.
end : datetime-like
    The end date of range in which to collect dates for a given holiday.
expected : list
    The list of dates we expect to get.