Skip to content

Commit

Permalink
Merge pull request #2 from niccokunzmann/ennamarie19-master
Browse files Browse the repository at this point in the history
reproduce fuzzing error
  • Loading branch information
ennamarie19 authored Nov 5, 2023
2 parents 41afc2c + 7db9bf2 commit db54100
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/icalendar/tests/test_oss_fuzz_errors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""This file collects errors that the OSS FUZZ build has found."""
from icalendar import Calendar
import pytest


def test_stack_is_empty():
"""If we get passed an invalid string, we expect to get a ValueError."""
with pytest.raises(ValueError):
Calendar.from_ical("END:CALENDAR")

0 comments on commit db54100

Please sign in to comment.