o
    .jN                     @   s<   d Z ddlmZ ddlZddlmZmZ dd Zdd ZdS )	zTests for issue #987: property class modularization.

Verifies that mutable property types (vDDDLists, vRecur) are not hashable.
    )	timedeltaN)	vDDDListsvRecurc                   C   sx   t t ttg  W d   n1 sw   Y  t t tttdg W d   dS 1 s5w   Y  dS )!Mutable objects are not hashable.Nr   )pytestraises	TypeErrorhashr   r    r
   r
   S/home/thesage/.local/lib/python3.10/site-packages/icalendar/tests/test_issue_987.pytest_vdddtypes_cannot_be_hashed   s   "r   c                   C   s<   t t ttg  W d   dS 1 sw   Y  dS )r   N)r   r   r   r	   r   r
   r
   r
   r   test_vrecur_cannot_be_hashed   s   "r   )	__doc__datetimer   r   	icalendarr   r   r   r   r
   r
   r
   r   <module>   s    	