Skip to content

Commit

Permalink
Resolved tzinfo conflict in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rsb-23 committed Oct 18, 2024
1 parent dc69c25 commit 5cff72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def test_pytz_timezone_serializing(self):
def unregister_tzid(tzid):
"""Clear tzid from icalendar TZID registry"""
if icalendar.getTzid(tzid, False):
icalendar.registerTzid(tzid, None)
icalendar.registerTzid(tzid, tzutc())

unregister_tzid('US/Eastern')
eastern = pytz.timezone('US/Eastern')
Expand Down

0 comments on commit 5cff72d

Please sign in to comment.