o
    .j                     @   s,   d dl mZmZ dd Zdd Zdd ZdS )	    )Calendar	Componentc                   C   s   t tjsJ dS )z@Verify that from_ical has the expected type hints and overloads.N)callabler   	from_ical r   r   T/home/thesage/.local/lib/python3.10/site-packages/icalendar/tests/test_issue_1129.pytest_component_from_ical_typing   s   r   c                  C   sb   d} t j| dd}t|t sJ t j| dd}t|tsJ t|dks&J t|d t s/J dS )z<Verify runtime behavior matches expectations for 'multiple'. BEGIN:VCALENDAR
END:VCALENDAR
F)multipleT   r   N)r   r   
isinstancelistlen)datacalcalsr   r   r   test_from_ical_behavior   s   r   c                  C   s    d} t | }t|t sJ dS )z)Verify default behavior is single return.r	   N)r   r   r   )r   r   r   r   r   test_from_ical_default   s   
r   N)	icalendarr   r   r   r   r   r   r   r   r   <module>   s    
