Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_icalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,11 +549,11 @@ def test_omits_dst_offset():
# Check dateutil, pytz, and zoneinfo (3.9+) tzinfo instances
_timezones = []
if "dateutil" in globals():
tz = dateutil.tz.gettz("US/Eastern")
tz = dateutil.tz.gettz("America/New_York")
assert tz is not None
_timezones.append(tz)
if "zoneinfo" in globals():
tz = zoneinfo.ZoneInfo("US/Eastern")
tz = zoneinfo.ZoneInfo("America/New_York")
assert tz is not None
_timezones.append(tz)

Expand Down