Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: TZID #69

Open
SnarkBoojum opened this issue Oct 10, 2023 · 0 comments
Open

KeyError: TZID #69

SnarkBoojum opened this issue Oct 10, 2023 · 0 comments

Comments

@SnarkBoojum
Copy link

Until recently 1.9.2 was compiling perfectly in Debian ; but now there is a failing test:

ERROR: test_timezone (django_ical.tests.test_feed.ICal20FeedTest.test_timezone)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/django_ical/tests/test_feed.py", line 490, in test_timezone
    self.assertEqual(calendar.subcomponents[1]["DTSTART"].params["TZID"], "EDT")
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3/dist-packages/icalendar/caselessdict.py", line 40, in __getitem__
    return super().__getitem__(key.upper())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'TZID'

I suspect some test file changed and this test was using something that disappeared, but I haven't been able to track down precisely what happened where.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant