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

Verifies that mutable property types (vDDDLists, vRecur) are not hashable.
    )	timedeltaN)	vDDDListsvRecurc                  X   t          j        t                    5  t          t	          g                      ddd           n# 1 swxY w Y   t          j        t                    5  t          t	          t          d          g                     ddd           dS # 1 swxY w Y   dS )!Mutable objects are not hashable.Nr   )pytestraises	TypeErrorhashr   r        Y/root/projects/butler/venv/lib/python3.11/site-packages/icalendar/tests/test_issue_987.pytest_vdddtypes_cannot_be_hashedr      s   	y	!	!  Yr]]               
y	!	! ( (Y	!~&&'''( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (s#   AA
A'+BB#&B#c                      t          j        t                    5  t          t	          g                      ddd           dS # 1 swxY w Y   dS )r   N)r   r	   r
   r   r   r   r   r   test_vrecur_cannot_be_hashedr      s    	y	!	!  VBZZ                 s   AAA)	__doc__datetimer   r   	icalendarr   r   r   r   r   r   r   <module>r      sl    
        ' ' ' ' ' ' ' '( ( (    r   