Merge pull request #2 from niccokunzmann/ennamarie19-master

reproduce fuzzing error
pull/581/head
ennamarie19 2023-11-05 12:40:12 -05:00 zatwierdzone przez GitHub
commit db54100d42
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -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")