Skip to content

Commit

Permalink
reproduce error
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Aug 19, 2022
1 parent 8a57a27 commit ad7bcad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/icalendar/tests/test_fixed_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,10 @@ def test_issue_321_assert_dst_offset_is_not_false(self):
path = os.path.join(directory,
'issue_321_assert_dst_offset_is_not_false.ics')
with open(path, 'rb') as ics:
cal = icalendar.Calendar.from_ical(ics.read()) # assertion should fail
cal = icalendar.Calendar.from_ical(ics.read())
timezone = list(cal.walk())[1]
print(timezone)
pytz = timezone.to_tz() # assertion should fail

def test_issue_345(self):
"""Issue #345 - Why is tools.UIDGenerator a class (that must be instantiated) instead of a module? """
Expand Down

0 comments on commit ad7bcad

Please sign in to comment.