kopia lustrzana https://github.com/collective/icalendar
Make tests pass if dateutil does not know the timezone
See https://github.com/collective/icalendar/issues/780#issuecomment-2759439855pull/792/head^2
rodzic
3d76ecfccb
commit
b64e84888c
|
@ -410,4 +410,4 @@ def test_we_can_identify_dateutil_timezones(tzid):
|
|||
But if we know their shortcodes, we should be able to identify them.
|
||||
"""
|
||||
tz = gettz(tzid)
|
||||
assert tzid in tzids_from_tzinfo(tz)
|
||||
assert tz is None or tzid in tzids_from_tzinfo(tz)
|
||||
|
|
Ładowanie…
Reference in New Issue