Sindbad~EG File Manager

Current Path : /proc/2568807/root/usr/local/lib/python3.12/test/__pycache__/
Upload File :
Current File : //proc/2568807/root/usr/local/lib/python3.12/test/__pycache__/test_copy.cpython-312.pyc

�

'Μgj����dZddlZddlZddlZddlZddlmZmZmZm	Z	m
Z
mZddlZddl
mZeeee	fZe
efZeezZGd�dej$�Zd�Zedk(rej,�yy)	zUnit tests for the copy module.�N)�le�lt�ge�gt�eq�ne)�supportc���eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+d*�Z,d+�Z-d,�Z.d-�Z/d.�Z0d/�Z1d0�Z2d1�Z3d2�Z4d3�Z5d4�Z6d5�Z7d6�Z8d7�Z9d8�Z:d9�Z;d:�Z<d;�Z=d<�Z>d=�Z?d>�Z@d?�ZAd@�ZBdA�ZCdB�ZDdC�ZEdD�ZFdE�ZGdF�ZHdG�ZIdH�ZJdI�ZKdJ�ZLdK�ZMdL�ZNdM�ZOdN�ZPyO)P�TestCopyc��|jtjtj�|j	ttjt��y�N)�assertIs�copy�Error�error�
assertTrue�
issubclass�	Exception��selfs �+/usr/local/lib/python3.12/test/test_copy.py�test_exceptionszTestCopy.test_exceptionss/���
�
�d�j�j�$�*�*�-����
�4�:�:�y�9�:�c�V�d}tj|�}|j||�y�N�*)r�assertEqual�r�x�ys   r�test_copy_basiczTestCopy.test_copy_basics$�����I�I�a�L������A�rc���G�fd�dt���d�}tj|�}|j|j|j�|j|j|j�y)Nc���eZdZd�Z�fd�Zy)�"TestCopy.test_copy_copy.<locals>.Cc��||_yr
��foo�rr's  r�__init__z+TestCopy.test_copy_copy.<locals>.C.__init__!�	����rc�(���|j�Sr
r&�r�Cs �r�__copy__z+TestCopy.test_copy_copy.<locals>.C.__copy__#��������{�"rN)�__name__�
__module__�__qualname__r)r.�r-s�rr-r$ s
���
�
#rr-r)�objectrr�	__class__r'�rrr r-s   @r�test_copy_copyzTestCopy.test_copy_copysW���	#��	#�

�b�E���I�I�a�L��������a�k�k�2����������&rc���Gd�dt���fd�}�d�}|jttj|�t	j
�|��tj|�}|j
||�|jt|���|j|j|j�y)Nc��eZdZd�Zy)�&TestCopy.test_copy_registry.<locals>.Cc�>�tj|�}||_|Sr
�r4�__new__r'��clsr'�objs   rr=z.TestCopy.test_copy_registry.<locals>.C.__new__,����n�n�S�)������
rN�r0r1r2r=�rrr-r:+���
rr-c�"���|jffSr
r&�r@r-s �r�pickle_Cz-TestCopy.test_copy_registry.<locals>.pickle_C0��������z�?�"rr)
r4�assertRaises�	TypeErrorr�copyreg�pickle�assertIsNotr�typer'�rrGrr r-s    @r�test_copy_registryzTestCopy.test_copy_registry*s����	��	�
	#�
�b�E�����)�T�Y�Y��2����q�(�A�&��I�I�a�L������A������a��!�$����������&rc���G�fd�dt�}g�|�}tj|�}|j||�|j�dg�y)Nc���eZdZ�fd�Zd�Zy)�'TestCopy.test_copy_reduce_ex.<locals>.Cc�(���jd�y�N����append�r�proto�cs  �r�
__reduce_ex__z5TestCopy.test_copy_reduce_ex.<locals>.C.__reduce_ex__<���������rc�&�|jd�y�Nzshouldn't call this��failrs r�
__reduce__z2TestCopy.test_copy_reduce_ex.<locals>.C.__reduce__?����	�	�/�0rN�r0r1r2r]rc�r\s�rr-rS;�
���
�
1rr-rV�r4rrr�rr-rr r\s    @r�test_copy_reduce_exzTestCopy.test_copy_reduce_ex:sJ���	1��	1�
��
�C���I�I�a�L���
�
�a�������Q�C� rc���G�fd�dt�}g�|�}tj|�}|j||�|j�dg�y)Nc���eZdZ�fd�Zy)�$TestCopy.test_copy_reduce.<locals>.Cc�(���jd�yrUrX�rr\s �rrcz/TestCopy.test_copy_reduce.<locals>.C.__reduce__Ir^rN�r0r1r2rcrfs�rr-rmH����
rr-rVrhris    @r�test_copy_reducezTestCopy.test_copy_reduceGsJ���	��	�
��
�C���I�I�a�L���
�
�a�������Q�C� rc��Gd�dt�}|�}|jtjtj|�y)Nc��eZdZd�Zy)�"TestCopy.test_copy_cant.<locals>.Cc�f�|jd�rt|��tj||�S�N�__reduce��
startswith�AttributeErrorr4�__getattribute__�r�names  rr|z3TestCopy.test_copy_cant.<locals>.C.__getattribute__T�,���?�?�:�.�(��.�.��.�.�t�T�:�:rN�r0r1r2r|rCrrr-ruS���
;rr-)r4rIrr�rr-rs   r�test_copy_cantzTestCopy.test_copy_cantRs1��	;��	;�

�C�����$�*�*�d�i�i��3rc�\�Gd�d�}d�}Gd�dtj��}ddtdd	d
zddd
ddd|jdt	td��td�t
ddd	�|t|t�g}|D]'}|jtj|�|��)y)Nc��eZdZy)�+TestCopy.test_copy_atomic.<locals>.NewStyleN�r0r1r2rCrr�NewStyler�^���rr�c��yr
rCrCrr�fz$TestCopy.test_copy_atomic.<locals>.f`���rc��eZdZy)�0TestCopy.test_copy_atomic.<locals>.WithMetaclassNr�rCrr�
WithMetaclassr�br�rr���	metaclass.r��d���Q�	@TF��?�hello�helloሴsworld��
rV)�abc�ABCMeta�NotImplemented�__code__�bytes�range�slice�max�propertyrr)rr�r�r��testsrs      r�test_copy_atomiczTestCopy.test_copy_atomic]s���	�	�	�	�c�k�k�	��s�N��Q��V�T�4����-�����5��s��,�e�B�i��q�"�a���3�
�x�z�	;��
�A��M�M�$�)�)�A�,��*�rc���gd�}tj|�}|j||�|j||�g}tj|�}|j||�|j||�y)N�rVr���rrrMrs   r�test_copy_listzTestCopy.test_copy_listlsf�����I�I�a�L������A������A�����I�I�a�L������A������A�rc��d}|jtj|�|�d}|jtj|�|�dddgf}|jtj|�|�y)Nr�rCrVr�r�)rr�rrs  r�test_copy_tuplezTestCopy.test_copy_tuplevs[�����
�
�d�i�i��l�A�&����
�
�d�i�i��l�A�&�
��1�b�M���
�
�d�i�i��l�A�&rc��ddd�}tj|�}|j||�|j||�i}tj|�}|j||�|j||�y)NrVr��r'�barr�rs   r�test_copy_dictzTestCopy.test_copy_dict~sk���a� ���I�I�a�L������A������A�����I�I�a�L������A������A�rc��hd�}tj|�}|j||�|j||�t�}tj|�}|j||�|j||�y�N>rVr�r�)rrrM�setrs   r�
test_copy_setzTestCopy.test_copy_set�sh�����I�I�a�L������A������A���E���I�I�a�L������A������A�rc���thd��}|jtj|�|�t�}|jtj|�|�yr�)�	frozensetrrr�s  r�test_copy_frozensetzTestCopy.test_copy_frozenset�s?���i� ���
�
�d�i�i��l�A�&��K���
�
�d�i�i��l�A�&rc��td�}tj|�}|j||�|j||�t�}tj|�}|j||�|j||�y)Nsabc)�	bytearrayrrrMrs   r�test_copy_bytearrayzTestCopy.test_copy_bytearray�sm���f����I�I�a�L������A������A���K���I�I�a�L������A������A�rc�r�Gd�d�}|d�}|jtj|�|�y)Nc��eZdZd�Zd�Zy)�*TestCopy.test_copy_inst_vanilla.<locals>.Cc��||_yr
r&r(s  rr)z3TestCopy.test_copy_inst_vanilla.<locals>.C.__init__�r*rc�4�|j|jk(Sr
r&�r�others  r�__eq__z1TestCopy.test_copy_inst_vanilla.<locals>.C.__eq__�����x�x�5�9�9�,�,rN�r0r1r2r)r�rCrrr-r�����
�
-rr-r�rrr�s   r�test_copy_inst_vanillazTestCopy.test_copy_inst_vanilla�s/��	-�	-�

�b�E��������1��q�)rc�x��G�fd�d���d�}|jtj|�|�y)Nc�$��eZdZd�Z�fd�Zd�Zy)�'TestCopy.test_copy_inst_copy.<locals>.Cc��||_yr
r&r(s  rr)z0TestCopy.test_copy_inst_copy.<locals>.C.__init__�r*rc�(���|j�Sr
r&r,s �rr.z0TestCopy.test_copy_inst_copy.<locals>.C.__copy__�r/rc�4�|j|jk(Sr
r&r�s  rr�z.TestCopy.test_copy_inst_copy.<locals>.C.__eq__�r�rN)r0r1r2r)r.r�r3s�rr-r��s���
�
#�
-rr-rr��rrr-s  @r�test_copy_inst_copyzTestCopy.test_copy_inst_copy�s0���	-�	-�
�b�E��������1��q�)rc�r�Gd�d�}|d�}|jtj|�|�y)Nc��eZdZd�Zd�Zd�Zy)�.TestCopy.test_copy_inst_getinitargs.<locals>.Cc��||_yr
r&r(s  rr)z7TestCopy.test_copy_inst_getinitargs.<locals>.C.__init__�r*rc��|jfSr
r&rs r�__getinitargs__z>TestCopy.test_copy_inst_getinitargs.<locals>.C.__getinitargs__�������{�"rc�4�|j|jk(Sr
r&r�s  rr�z5TestCopy.test_copy_inst_getinitargs.<locals>.C.__eq__�r�rN�r0r1r2r)r�r�rCrrr-r�����
�
#�
-rr-rr�r�s   r�test_copy_inst_getinitargsz#TestCopy.test_copy_inst_getinitargs��/��	-�	-�
�b�E��������1��q�)rc��Gd�dt�}|d�}tj|�}|j||�|j||�|j	||�|j|j
|j
�y)Nc��eZdZd�Zd�Zd�Zy)�-TestCopy.test_copy_inst_getnewargs.<locals>.Cc�>�tj|�}||_|Sr
��intr=r'�r?r'rs   rr=z5TestCopy.test_copy_inst_getnewargs.<locals>.C.__new__�����{�{�3�'������rc��|jfSr
r&rs r�__getnewargs__z<TestCopy.test_copy_inst_getnewargs.<locals>.C.__getnewargs__�����x�x�y� rc�4�|j|jk(Sr
r&r�s  rr�z4TestCopy.test_copy_inst_getnewargs.<locals>.C.__eq__�r�rN�r0r1r2r=r�r�rCrrr-r�����
�
!�
-rr-r�r�r�assertIsInstancerrMr'�rr-rr s    r�test_copy_inst_getnewargsz"TestCopy.test_copy_inst_getnewargs�sn��	-��	-�
�b�E���I�I�a�L�����a��#�����A������A�����������&rc��Gd�dt�}|d��}tj|�}|j||�|j||�|j	||�|j|j
|j
�y)Nc��eZdZd�Zd�Zd�Zy)�0TestCopy.test_copy_inst_getnewargs_ex.<locals>.Cc�>�tj|�}||_|Sr
r�r�s   rr=z8TestCopy.test_copy_inst_getnewargs_ex.<locals>.C.__new__�r�rc�"�dd|jifS�NrCr'r&rs r�__getnewargs_ex__zBTestCopy.test_copy_inst_getnewargs_ex.<locals>.C.__getnewargs_ex__�����E�4�8�8�,�,�,rc�4�|j|jk(Sr
r&r�s  rr�z7TestCopy.test_copy_inst_getnewargs_ex.<locals>.C.__eq__�r�rN�r0r1r2r=r�r�rCrrr-r�����
�
-�
-rr-rr&r�r�s    r�test_copy_inst_getnewargs_exz%TestCopy.test_copy_inst_getnewargs_ex�sn��	-��	-�
�"�I���I�I�a�L�����a��#�����A������A�����������&rc�r�Gd�d�}|d�}|jtj|�|�y)Nc��eZdZd�Zd�Zd�Zy)�+TestCopy.test_copy_inst_getstate.<locals>.Cc��||_yr
r&r(s  rr)z4TestCopy.test_copy_inst_getstate.<locals>.C.__init__�r*rc��d|jiS�Nr'r&rs r�__getstate__z8TestCopy.test_copy_inst_getstate.<locals>.C.__getstate__�����t�x�x�(�(rc�4�|j|jk(Sr
r&r�s  rr�z2TestCopy.test_copy_inst_getstate.<locals>.C.__eq__�r�rN�r0r1r2r)rr�rCrrr-r�����
�
)�
-rr-rr�r�s   r�test_copy_inst_getstatez TestCopy.test_copy_inst_getstate�r�rc�r�Gd�d�}|d�}|jtj|�|�y)Nc��eZdZd�Zd�Zd�Zy)�+TestCopy.test_copy_inst_setstate.<locals>.Cc��||_yr
r&r(s  rr)z4TestCopy.test_copy_inst_setstate.<locals>.C.__init__�r*rc��|d|_yr�r&�r�states  r�__setstate__z8TestCopy.test_copy_inst_setstate.<locals>.C.__setstate__��
�� ��<��rc�4�|j|jk(Sr
r&r�s  rr�z2TestCopy.test_copy_inst_setstate.<locals>.C.__eq__�r�rN�r0r1r2r)r
r�rCrrr-r����
�
(�
-rr-rr�r�s   r�test_copy_inst_setstatez TestCopy.test_copy_inst_setstate�r�rc���Gd�d�}|d�}|jtj|�|�|d�}|jtj|�|�y)Nc�$�eZdZd�Zd�Zd�Zd�Zy)�4TestCopy.test_copy_inst_getstate_setstate.<locals>.Cc��||_yr
r&r(s  rr)z=TestCopy.test_copy_inst_getstate_setstate.<locals>.C.__init__�r*rc��|jSr
r&rs rrzATestCopy.test_copy_inst_getstate_setstate.<locals>.C.__getstate__�����x�x�rc��||_yr
r&rs  rr
zATestCopy.test_copy_inst_getstate_setstate.<locals>.C.__setstate__��	�� ��rc�4�|j|jk(Sr
r&r�s  rr�z;TestCopy.test_copy_inst_getstate_setstate.<locals>.C.__eq__r�rN�r0r1r2r)rr
r�rCrrr-r����
�
 �
!�
-rr-rgr�r�s   r� test_copy_inst_getstate_setstatez)TestCopy.test_copy_inst_getstate_setstate�sP��	-�	-�
�b�E��������1��q�)�
�c�F��������1��q�)rc�V�d}tj|�}|j||�yr)r�deepcopyrrs   r�test_deepcopy_basiczTestCopy.test_deepcopy_basics%�����M�M�!�������A�rc���g}||g}tj|�}|j||�|j||�|j|d|d�|j	|d|d�y�NrrV)rr rrMrrs   r�test_deepcopy_memozTestCopy.test_deepcopy_memosn��
��
��F���M�M�!�������A������A������1��q��t�$��
�
�a��d�A�a�D�!rc��Gd�dt�}Gd�d|��}|jtj|�|�y)Nc��eZdZy)�/TestCopy.test_deepcopy_issubclass.<locals>.MetaNr�rCrr�Metar' r�rr(c��eZdZy)�,TestCopy.test_deepcopy_issubclass.<locals>.CNr�rCrrr-r*"r�rr-r�)rNrrr )rr(r-s   r�test_deepcopy_issubclassz!TestCopy.test_deepcopy_issubclasss3��
	�4�	�	�$�	�������q�)�1�-rc���G�fd�dt���d�}tj|�}|j|j|j�|j|j
|j
�y)Nc� ��eZdZd�Zd�fd�	Zy)�*TestCopy.test_deepcopy_deepcopy.<locals>.Cc��||_yr
r&r(s  rr)z3TestCopy.test_deepcopy_deepcopy.<locals>.C.__init__(r*rNc�(���|j�Sr
r&�r�memor-s  �r�__deepcopy__z7TestCopy.test_deepcopy_deepcopy.<locals>.C.__deepcopy__*r/rr
)r0r1r2r)r3r3s�rr-r.'s
���
�
#rr-r)r4rr rr5r'r6s   @r�test_deepcopy_deepcopyzTestCopy.test_deepcopy_deepcopy&sX���	#��	#�

�b�E���M�M�!���������a�k�k�2����������&rc���Gd�dt���fd�}�d�}|jttj|�tj�|��tj|�}|j||�|jt|���|j|j|j�y)Nc��eZdZd�Zy)�*TestCopy.test_deepcopy_registry.<locals>.Cc�>�tj|�}||_|Sr
r<r>s   rr=z2TestCopy.test_deepcopy_registry.<locals>.C.__new__3rArNrBrCrrr-r72rDrr-c�"���|jffSr
r&rFs �rrGz1TestCopy.test_deepcopy_registry.<locals>.pickle_C7rHrr)r4rIrJrr rKrLrMrrNr'rOs    @r�test_deepcopy_registryzTestCopy.test_deepcopy_registry1s����	��	�
	#�
�b�E�����)�T�]�]�A�6����q�(�A�&��M�M�!�������A������a��!�$����������&rc���G�fd�dt�}g�|�}tj|�}|j||�|j	�dg�y)Nc���eZdZ�fd�Zd�Zy)�+TestCopy.test_deepcopy_reduce_ex.<locals>.Cc�(���jd�yrUrXrZs  �rr]z9TestCopy.test_deepcopy_reduce_ex.<locals>.C.__reduce_ex__Cr^rc�&�|jd�yr`rars rrcz6TestCopy.test_deepcopy_reduce_ex.<locals>.C.__reduce__FrdrNrerfs�rr-r=Brgrr-rV�r4rr rrris    @r�test_deepcopy_reduce_exz TestCopy.test_deepcopy_reduce_exAsK���	1��	1�
��
�C���M�M�!����
�
�a�������Q�C� rc���G�fd�dt�}g�|�}tj|�}|j||�|j	�dg�y)Nc���eZdZ�fd�Zy)�(TestCopy.test_deepcopy_reduce.<locals>.Cc�(���jd�yrUrXros �rrcz3TestCopy.test_deepcopy_reduce.<locals>.C.__reduce__Pr^rNrprfs�rr-rDOrqrr-rVr@ris    @r�test_deepcopy_reducezTestCopy.test_deepcopy_reduceNsK���	��	�
��
�C���M�M�!����
�
�a�������Q�C� rc��Gd�dt�}|�}|jtjtj|�y)Nc��eZdZd�Zy)�&TestCopy.test_deepcopy_cant.<locals>.Cc�f�|jd�rt|��tj||�Srwryr}s  rr|z7TestCopy.test_deepcopy_cant.<locals>.C.__getattribute__[rrNr�rCrrr-rIZr�rr-)r4rIrrr r�s   r�test_deepcopy_cantzTestCopy.test_deepcopy_cantYs1��	;��	;�

�C�����$�*�*�d�m�m�Q�7rc���Gd�d�}d�}ddtdddzdd	d
ddd
d|j|td�tt	�g}|D]'}|jt
j|�|��)y)Nc��eZdZy)�/TestCopy.test_deepcopy_atomic.<locals>.NewStyleNr�rCrrr�rNer�rr�c��yr
rCrCrrr�z(TestCopy.test_deepcopy_atomic.<locals>.fgr�r.rr�r�r�TFr�sbytesr�r�r�)r�r�r�r�r�rrr )rr�r�r�rs     r�test_deepcopy_atomiczTestCopy.test_deepcopy_atomicdsn��	�	�	��s�N�B��3���d�E�2��7�M�1�:�:��5��9�c�8�:�7���A��M�M�$�-�-��*�A�.�rc��ddgdg}tj|�}|j||�|j||�|j|d|d�y�NrVr�r�r�rr rrMrs   r�test_deepcopy_listzTestCopy.test_deepcopy_listo�U����V�Q�K���M�M�!�������A������A������1��q��t�$rc��g}|j|�tj|�}tD]}|j	t
|||��|j
||�|j|d|�|jt|�d�yr#)
rYrr �comparisonsrI�RecursionErrorrMrr�len�rrr �ops    r�test_deepcopy_reflexive_listz%TestCopy.test_deepcopy_reflexive_listvst����	������M�M�!����B����n�b�!�Q�7������A���
�
�a��d�A������Q���#rc�V�d}tj|�}|j||�y�NrC�rr rrs   r�test_deepcopy_empty_tuplez"TestCopy.test_deepcopy_empty_tuple�s#�����M�M�!����
�
�a��rc��ddgdf}tj|�}|j||�|j||�|j|d|d�yrRrSrs   r�test_deepcopy_tuplezTestCopy.test_deepcopy_tuple�rUrc�V�d}tj|�}|j||�y)N)�rVr�r�r_rs   r�!test_deepcopy_tuple_of_immutablesz*TestCopy.test_deepcopy_tuple_of_immutables�s#�����M�M�!����
�
�a��rc�&�gf}|dj|�tj|�}tD]}|j	t
|||��|j
||�|j
|d|d�|j|dd|�y�Nr)rYrr rWrIrXrMrrZs    r�test_deepcopy_reflexive_tuplez&TestCopy.test_deepcopy_reflexive_tuple�s���
�E��	�!����A���M�M�!����B����n�b�!�Q�7������A������1��q��t�$��
�
�a��d�1�g�q�!rc��ddgdd�}tj|�}|j||�|j||�|j|d|d�y)NrVr�r�r�r'rSrs   r�test_deepcopy_dictzTestCopy.test_deepcopy_dict�sV����F�1�%���M�M�!�������A������A������5��1�U�8�,rc�L�i}||d<tj|�}tD]}|jt|||��t
D]}|jt|||��|j||�|j|d|�|jt|�d�y)Nr'rV)rr �order_comparisonsrIrJ�equality_comparisonsrXrMrrrYrZs    r�test_deepcopy_reflexive_dictz%TestCopy.test_deepcopy_reflexive_dict�s�������%���M�M�!���#�B����i��Q��2�$�&�B����n�b�!�Q�7�'�����A���
�
�a��h��"�����Q���#rc�z�i}g}tj||�}|j|t|�d|�yrg)rr r�id�rr2rr s    r�test_deepcopy_keepalivez TestCopy.test_deepcopy_keepalive�s7�������M�M�!�T�"���
�
�d�2�d�8�n�Q�'��+rc�&�i}gd�}tj||�}|j||�|jt|�d�i}dg}tj||�}|j||�|jt|�d�y)N)rVr�r��r�rd)rr rrYrqs    r�!test_deepcopy_dont_memo_immutablez*TestCopy.test_deepcopy_dont_memo_immutable�s��������M�M�!�T�"������A������T��A�&���
�H���M�M�!�T�"������A������T��A�&rc���Gd�d�}|dg�}tj|�}|j||�|j|j|j�y)Nc��eZdZd�Zd�Zy)�.TestCopy.test_deepcopy_inst_vanilla.<locals>.Cc��||_yr
r&r(s  rr)z7TestCopy.test_deepcopy_inst_vanilla.<locals>.C.__init__�r*rc�4�|j|jk(Sr
r&r�s  rr�z5TestCopy.test_deepcopy_inst_vanilla.<locals>.C.__eq__�r�rNr�rCrrr-rx�r�rr-r�rr rrMr'r�s    r�test_deepcopy_inst_vanillaz#TestCopy.test_deepcopy_inst_vanilla�sO��	-�	-�

�r�d�G���M�M�!�������A�����������&rc����G�fd�d���dg�}tj|�}|j||�|j||�|j|j|j�y)Nc�$��eZdZd�Z�fd�Zd�Zy)�/TestCopy.test_deepcopy_inst_deepcopy.<locals>.Cc��||_yr
r&r(s  rr)z8TestCopy.test_deepcopy_inst_deepcopy.<locals>.C.__init__�r*rc�P���tj|j|��Sr
)rr r'r1s  �rr3z<TestCopy.test_deepcopy_inst_deepcopy.<locals>.C.__deepcopy__�s�������t�x�x��6�7�7rc�4�|j|jk(Sr
r&r�s  rr�z6TestCopy.test_deepcopy_inst_deepcopy.<locals>.C.__eq__�r�rN)r0r1r2r)r3r�r3s�rr-r�s���
�
8�
-rr-rr{r6s   @r�test_deepcopy_inst_deepcopyz$TestCopy.test_deepcopy_inst_deepcopy�s`���	-�	-�
�r�d�G���M�M�!�������A������A�����������&rc���Gd�d�}|dg�}tj|�}|j||�|j||�|j|j|j�y)Nc��eZdZd�Zd�Zd�Zy)�2TestCopy.test_deepcopy_inst_getinitargs.<locals>.Cc��||_yr
r&r(s  rr)z;TestCopy.test_deepcopy_inst_getinitargs.<locals>.C.__init__�r*rc��|jfSr
r&rs rr�zBTestCopy.test_deepcopy_inst_getinitargs.<locals>.C.__getinitargs__�r�rc�4�|j|jk(Sr
r&r�s  rr�z9TestCopy.test_deepcopy_inst_getinitargs.<locals>.C.__eq__�r�rNr�rCrrr-r��r�rr-rr{r�s    r�test_deepcopy_inst_getinitargsz'TestCopy.test_deepcopy_inst_getinitargs��_��	-�	-�
�r�d�G���M�M�!�������A������A�����������&rc�b�Gd�dt�}|dg�}tj|�}|j||�|j	||�|j||�|j	|j|j�|j|j|j�y)Nc��eZdZd�Zd�Zd�Zy)�1TestCopy.test_deepcopy_inst_getnewargs.<locals>.Cc�>�tj|�}||_|Sr
r�r�s   rr=z9TestCopy.test_deepcopy_inst_getnewargs.<locals>.C.__new__�r�rc��|jfSr
r&rs rr�z@TestCopy.test_deepcopy_inst_getnewargs.<locals>.C.__getnewargs__�r�rc�4�|j|jk(Sr
r&r�s  rr�z8TestCopy.test_deepcopy_inst_getnewargs.<locals>.C.__eq__�r�rNr�rCrrr-r��r�rr-r�r�rr r�rrMr'r�s    r�test_deepcopy_inst_getnewargsz&TestCopy.test_deepcopy_inst_getnewargs�s���	-��	-�
�r�d�G���M�M�!������a��#�����A������A�����������&����������&rc�d�Gd�dt�}|dg��}tj|�}|j||�|j	||�|j||�|j	|j|j�|j|j|j�y)Nc��eZdZd�Zd�Zd�Zy)�4TestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.Cc�>�tj|�}||_|Sr
r�r�s   rr=z<TestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.C.__new__�r�rc�"�dd|jifSr�r&rs rr�zFTestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.C.__getnewargs_ex__r�rc�4�|j|jk(Sr
r&r�s  rr�z;TestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.C.__eq__r�rNr�rCrrr-r��r�rr-rr&r�r�s    r� test_deepcopy_inst_getnewargs_exz)TestCopy.test_deepcopy_inst_getnewargs_ex�s���	-��	-�
�2�$�K���M�M�!������a��#�����A������A�����������&����������&rc���Gd�d�}|dg�}tj|�}|j||�|j||�|j|j|j�y)Nc��eZdZd�Zd�Zd�Zy)�/TestCopy.test_deepcopy_inst_getstate.<locals>.Cc��||_yr
r&r(s  rr)z8TestCopy.test_deepcopy_inst_getstate.<locals>.C.__init__r*rc��d|jiSr�r&rs rrz<TestCopy.test_deepcopy_inst_getstate.<locals>.C.__getstate__rrc�4�|j|jk(Sr
r&r�s  rr�z6TestCopy.test_deepcopy_inst_getstate.<locals>.C.__eq__r�rNrrCrrr-r�rrr-rr{r�s    r�test_deepcopy_inst_getstatez$TestCopy.test_deepcopy_inst_getstater�rc���Gd�d�}|dg�}tj|�}|j||�|j||�|j|j|j�y)Nc��eZdZd�Zd�Zd�Zy)�/TestCopy.test_deepcopy_inst_setstate.<locals>.Cc��||_yr
r&r(s  rr)z8TestCopy.test_deepcopy_inst_setstate.<locals>.C.__init__r*rc��|d|_yr�r&rs  rr
z<TestCopy.test_deepcopy_inst_setstate.<locals>.C.__setstate__ rrc�4�|j|jk(Sr
r&r�s  rr�z6TestCopy.test_deepcopy_inst_setstate.<locals>.C.__eq__"r�rNrrCrrr-r�rrr-rr{r�s    r�test_deepcopy_inst_setstatez$TestCopy.test_deepcopy_inst_setstater�rc��Gd�d�}|dg�}tj|�}|j||�|j||�|j|j|j�|g�}tj|�}|j||�|j||�|j|j|j�y)Nc�$�eZdZd�Zd�Zd�Zd�Zy)�8TestCopy.test_deepcopy_inst_getstate_setstate.<locals>.Cc��||_yr
r&r(s  rr)zATestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__init__,r*rc��|jSr
r&rs rrzETestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__getstate__.rrc��||_yr
r&rs  rr
zETestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__setstate__0rrc�4�|j|jk(Sr
r&r�s  rr�z?TestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__eq__2r�rNrrCrrr-r�+rrr-rr{r�s    r�$test_deepcopy_inst_getstate_setstatez-TestCopy.test_deepcopy_inst_getstate_setstate*s���	-�	-�
�r�d�G���M�M�!�������A������A�����������&�
�b�E���M�M�!�������A������A�����������&rc��Gd�d�}|�}||_tj|�}|j||�|j	|j|�y)Nc��eZdZy)�0TestCopy.test_deepcopy_reflexive_inst.<locals>.CNr�rCrrr-r�Ar�rr-)r'rr rMrr�s    r�test_deepcopy_reflexive_instz%TestCopy.test_deepcopy_reflexive_inst@sJ��	�	�
�C������M�M�!�������A���
�
�a�e�e�Q�rc���Gd�dt�}|�}tj|�}|j||�tj|�}|j||�y)Nc��eZdZd�Zy)�+TestCopy.test_reconstruct_string.<locals>.Cc��y)NrWrCrs rrcz6TestCopy.test_reconstruct_string.<locals>.C.__reduce__Ms��rNrprCrrr-r�Ls��
rr-)r4rrr r�s    r�test_reconstruct_stringz TestCopy.test_reconstruct_stringKsN��	��	�
�C���I�I�a�L���
�
�a����M�M�!����
�
�a��rc�0��G�fd�dt����}d|_tj|�}|j|j|j�tj
|�}|j|j|j�y)Nc���eZdZ�fd�Zy)�,TestCopy.test_reconstruct_nostate.<locals>.Cc����dfSr^rCr,s �rrcz7TestCopy.test_reconstruct_nostate.<locals>.C.__reduce__Ws����2�w�rNrpr3s�rr-r�Vs���
rr-r)r4r'rrr5r r6s   @r�test_reconstruct_nostatez!TestCopy.test_reconstruct_nostateUsf���	��	�
�C������I�I�a�L���
�
�a�k�k�1�;�;�/��M�M�!����
�
�a�k�k�1�;�;�/rc�.��G�fd�dt����}dg|_tj|�}|j||�tj|�}|j||�|j|j|j�y)Nc���eZdZ�fd�Zd�Zy)�*TestCopy.test_reconstruct_state.<locals>.Cc�"���d|jfSr^��__dict__r,s �rrcz5TestCopy.test_reconstruct_state.<locals>.C.__reduce__b�����2�t�}�}�-�-rc�4�|j|jk(Sr
r�r�s  rr�z1TestCopy.test_reconstruct_state.<locals>.C.__eq__d����}�}����6�6rN�r0r1r2rcr�r3s�rr-r�as
���
.�
7rr-r�r4r'rrr rMr6s   @r�test_reconstruct_statezTestCopy.test_reconstruct_state`st���	7��	7�

�C�������I�I�a�L������A���M�M�!�������A�����������&rc�.��G�fd�dt����}dg|_tj|�}|j||�tj|�}|j||�|j|j|j�y)Nc�$��eZdZ�fd�Zd�Zd�Zy)�3TestCopy.test_reconstruct_state_setstate.<locals>.Cc�"���d|jfSr^r�r,s �rrcz>TestCopy.test_reconstruct_state_setstate.<locals>.C.__reduce__pr�rc�:�|jj|�yr
)r��updaters  rr
z@TestCopy.test_reconstruct_state_setstate.<locals>.C.__setstate__rs���
�
�$�$�U�+rc�4�|j|jk(Sr
r�r�s  rr�z:TestCopy.test_reconstruct_state_setstate.<locals>.C.__eq__tr�rN)r0r1r2rcr
r�r3s�rr-r�os���
.�
,�
7rr-rr�r6s   @r�test_reconstruct_state_setstatez(TestCopy.test_reconstruct_state_setstatenst���	7��	7�
�C�������I�I�a�L������A���M�M�!�������A�����������&rc���Gd�dt�}|�}||_tj|�}|j	||�|j|j|�y)Nc��eZdZy)�.TestCopy.test_reconstruct_reflexive.<locals>.CNr�rCrrr-r�r�rr-)r4r'rr rMrr�s    r�test_reconstruct_reflexivez#TestCopy.test_reconstruct_reflexive~sL��	��	�
�C������M�M�!�������A���
�
�a�e�e�Q�rc���G�fd�dt���ddgdg�}tj|�}|j||�|j||�|j	|d|d�tj
|�}|j||�|j||�|j|d|d�y)Nc���eZdZ�fd�Zd�Zy)�&TestCopy.test_reduce_4tuple.<locals>.Cc�6���d|jt|�fSr^)r��iterr,s �rrcz1TestCopy.test_reduce_4tuple.<locals>.C.__reduce__�s����2�t�}�}�d�4�j�9�9rc�f�t|�t|�k(xr|j|jk(Sr
)�listr�r�s  rr�z-TestCopy.test_reduce_4tuple.<locals>.C.__eq__��,���T�
�d�5�k�1�8��
�
����7�9rNr�r3s�rr-r��s
���
:�
9rr-rVr�r�r)r�rrrMrr r6s   @r�test_reduce_4tuplezTestCopy.test_reduce_4tuple�s����	9��	9�
��1�v�q�k�N���I�I�a�L������A������A���
�
�a��d�A�a�D�!��M�M�!�������A������A������1��q��t�$rc���G�fd�dt���dddgfdg�}tj|�}|j||�|j||�|j	|d|d�tj
|�}|j||�|j||�|j|d|d�y)Nc���eZdZ�fd�Zd�Zy)�&TestCopy.test_reduce_5tuple.<locals>.Cc�B���d|jd|j�fSr^)r��itemsr,s �rrcz1TestCopy.test_reduce_5tuple.<locals>.C.__reduce__�s����2�t�}�}�d�D�J�J�L�A�Arc�f�t|�t|�k(xr|j|jk(Sr
)�dictr�r�s  rr�z-TestCopy.test_reduce_5tuple.<locals>.C.__eq__�r�rNr�r3s�rr-r��s���
B�
9rr-r'rVr�)r�r�)r�rrrMrr r6s   @r�test_reduce_5tuplezTestCopy.test_reduce_5tuple�s����	9��	9�
���1�v��
�+�,���I�I�a�L������A������A���
�
�a��h��%��)��M�M�!�������A������A������5��1�U�8�,rc�8�����fd��G��fd�d����}�jt�5tj|�ddd��jt�5tj|�ddd�y#1swY�=xYw#1swYyxYw)Nc�(���jd�yr`ra)�args�kwargsrs  �r�state_setterz1TestCopy.test_reduce_6tuple.<locals>.state_setter�s����I�I�+�,rc���eZdZ��fd�Zy)�&TestCopy.test_reduce_6tuple.<locals>.Cc�(���d|jdd�fSr^r�)rr-r�s ��rrcz1TestCopy.test_reduce_6tuple.<locals>.C.__reduce__�s����"�d�m�m�T�4��E�ErNrp)r-r�s��rr-r��s	���
Frr-�rIrJrr )rrr-r�s` @@r�test_reduce_6tuplezTestCopy.test_reduce_6tuple�sm���	-�	F�	F�
�C��
�
�
�y�
)��I�I�a�L�*�
�
�
�y�
)��M�M�!��*�
)�*�
)��
)�
)�s�B�%B�B
�Bc�(��G�fd�d����}|jt�5tj|�ddd�|jt�5tj|�ddd�y#1swY�=xYw#1swYyxYw)Nc���eZdZ�fd�Zy)�+TestCopy.test_reduce_6tuple_none.<locals>.Cc�(���d|jdddfSr^r�r,s �rrcz6TestCopy.test_reduce_6tuple_none.<locals>.C.__reduce__�s����"�d�m�m�T�4��=�=rNrpr3s�rr-r��s���
>rr-r�r�s  @r�test_reduce_6tuple_nonez TestCopy.test_reduce_6tuple_none�sf���	>�	>�
�C��
�
�
�y�
)��I�I�a�L�*�
�
�
�y�
)��M�M�!��*�
)�*�
)��
)�
)�s�A<�B�<B�Bc��Gd�dt�}|�}dg|_tj|�}|j|j|j�y)Nc��eZdZdgZy)�#TestCopy.test_copy_slots.<locals>.Cr'N�r0r1r2�	__slots__rCrrr-r���	����Irr-r)r4r'rrr�s    r�test_copy_slotszTestCopy.test_copy_slots�sA��	 ��	 �
�C�������I�I�a�L���
�
�a�e�e�Q�U�U�#rc��Gd�dt�}|�}dg|_tj|�}|j	|j|j�|j|j|j�y)Nc��eZdZdgZy)�'TestCopy.test_deepcopy_slots.<locals>.Cr'Nr�rCrrr-r�r�rr-r)r4r'rr rrMr�s    r�test_deepcopy_slotszTestCopy.test_deepcopy_slots�s\��	 ��	 �
�C�������M�M�!������������&����������&rc�p�Gd�dt�}|ddi��}tj|�}|j||�|j|j|j�|j||�d|d<|j
||�|j
|j|j�y)Nc�*��eZdZd�fd�	Z�fd�Z�xZS)�/TestCopy.test_deepcopy_dict_subclass.<locals>.Cc�h��|si}t|j��|_t�|�|�yr
)r��keys�_keys�superr))r�dr5s  �rr)z8TestCopy.test_deepcopy_dict_subclass.<locals>.C.__init__�s)�����A�!�!�&�&�(�^��
��� ��#rc�z��t�|�||�||jvr|jj|�yyr
)r�__setitem__rrY)r�key�itemr5s   �rrz;TestCopy.test_deepcopy_dict_subclass.<locals>.C.__setitem__�s5�����#�C��.��d�j�j�(��J�J�%�%�c�*�)rr
)r0r1r2r)r�
__classcell__)r5s@rr-r�s���
$�

+�
+rr-r'r)r	rVr�)r�rr rrrM�assertNotEqualr�s    r�test_deepcopy_dict_subclassz$TestCopy.test_deepcopy_dict_subclass�s���		+��		+�
��q�	�N���M�M�!�������A��������!�'�'�*�����A����%�����A�q�!����A�G�G�Q�W�W�-rc��Gd�dt�}|ddgdg�}ddg|_tj|�}|jt|�t|��|j|j|j�|j	|d|d�|j	|j|j�y)	Nc��eZdZy)�+TestCopy.test_copy_list_subclass.<locals>.CNr�rCrrr-r�r�rr-rVr�r�rt�r)r�r'rrrr�s    r�test_copy_list_subclassz TestCopy.test_copy_list_subclass�s���	��	�
��1�v�q�k�N���A�����I�I�a�L������a��$�q�'�*����������&��
�
�a��d�A�a�D�!��
�
�a�e�e�Q�U�U�#rc��Gd�dt�}|ddgdg�}ddg|_tj|�}|j	t|�t|��|j	|j|j�|j|d|d�|j|j|j�y)	Nc��eZdZy)�/TestCopy.test_deepcopy_list_subclass.<locals>.CNr�rCrrr-r�r�rr-rVr�r�rtrr)r�r'rr rrMr�s    r�test_deepcopy_list_subclassz$TestCopy.test_deepcopy_list_subclass�s���	��	�
��1�v�q�k�N���A�����M�M�!�������a��$�q�'�*����������&�����1��q��t�$����������&rc���Gd�dt�}|gd��}|jt|�d�tj|�}|jt|�d�y)Nc��eZdZy)�,TestCopy.test_copy_tuple_subclass.<locals>.CNr�rCrrr-r�r�rr-r�)�tuplerrr�s    r�test_copy_tuple_subclassz!TestCopy.test_copy_tuple_subclass�sL��	��	�
�i�L������q��9�-��I�I�a�L������q��9�-rc�4�Gd�dt�}|ddgdg�}|jt|�ddgdf�tj|�}|jt|�ddgdf�|j	||�|j	|d|d�y)Nc��eZdZy)�0TestCopy.test_deepcopy_tuple_subclass.<locals>.CNr�rCrrr-r!r�rr-rVr�r�r)rrrr rMr�s    r�test_deepcopy_tuple_subclassz%TestCopy.test_deepcopy_tuple_subclasss���	��	�
��1�v�q�k�N������q��Q��F�A�;�/��M�M�!�������q��Q��F�A�;�/�����A������1��q��t�$rc�v�Gd�dt�}|jttj|��y)Nc��eZdZd�Zy)�-TestCopy.test_getstate_exc.<locals>.EvilStatec��td��)Nzain't got no stickin' state)�
ValueErrorrs rrz:TestCopy.test_getstate_exc.<locals>.EvilState.__getstate__s�� �!>�?�?rN)r0r1r2rrCrr�	EvilStater%s��
@rr()r4rIr'r)rr(s  r�test_getstate_exczTestCopy.test_getstate_excs*��	@��	@�	
���*�d�i�i���=rc��|jtjt�t�d�}|jtj|�|�d�}|jtj|�|�y)Nc��||zSr
rC�rr s  rr'z(TestCopy.test_copy_function.<locals>.foo�
��a��c�zrc��yr
rCrCrr�<lambda>z-TestCopy.test_copy_function.<locals>.<lambda>���dr)rr�
global_foo�rr'r�s   r�test_copy_functionzTestCopy.test_copy_functionsS��������:�.�
�;�!�������3���-���������3���-rc��|jtjt�t�d�}|jtj|�|�d�}|jtj|�|�y)Nc��||zSr
rCr,s  rr'z,TestCopy.test_deepcopy_function.<locals>.foor-rc��yr
rCrCrrr/z1TestCopy.test_deepcopy_function.<locals>.<lambda>r0r)rrr r1r2s   r�test_deepcopy_functionzTestCopy.test_deepcopy_functionsU��������z�2�J�?�!�������s�+�S�1���������s�+�S�1rc���Gd�dt�}|�}tj|�}||�}|j||�~||�}|j||�y)Nc��eZdZy)�"TestCopy._check_weakref.<locals>.CNr�rCrrr-r:#r�rr-)r4�weakref�refr)r�_copyr-r@rr s      r�_check_weakrefzTestCopy._check_weakref"sT��	��	��c���K�K�����!�H���
�
�a�����!�H���
�
�a��rc�B�|jtj�yr
)r>rrs r�test_copy_weakrefzTestCopy.test_copy_weakref-s�����D�I�I�&rc�B�|jtj�yr
)r>rr rs r�test_deepcopy_weakrefzTestCopy.test_deepcopy_weakref0s�����D�M�M�*rc�<�Gd�dt�}td�D�cgc]	}|���c}\}}}}|�}|||<|||<tj|�}	|j|	|�|j	|	|�|j	|	||�|j	|	||�|j	t|	�d�~~t
j�|j	t|	�d�|�|�}}
||	|
<|j|
|�ycc}w)Nc��eZdZy)�(TestCopy._check_copy_weakdict.<locals>.CNr�rCrrr-rE4r�rr-rtr�rV)	r4r�rrMrrYr	�
gc_collect�assertNotIn)r�	_dicttyper-�i�a�br\r	�u�vrr s            r�_check_copy_weakdictzTestCopy._check_copy_weakdict3s��	��	�#(��8�,�8�a�a�c�8�,�
��1�a���K����!����!���I�I�a�L������A������A������1��q�!�����1��q�!�����Q���#�
�q���������Q���#��s�A�C�1����!������A���!-s�Dc�B�|jtj�yr
)rNr;�WeakKeyDictionaryrs r�test_copy_weakkeydictzTestCopy.test_copy_weakkeydictHs���!�!�'�";�";�<rc�B�|jtj�yr
)rNr;�WeakValueDictionaryrs r�test_copy_weakvaluedictz TestCopy.test_copy_weakvaluedictKs���!�!�'�"=�"=�>rc��Gd�dt�}td�D�cgc]
}||���c}\}}}}tj�}|||<|||<t	j
|�}|j
||�|jt|�d�|j|||�|j|||�|j||j|j�|j||j|j�~tj�|jt|�d�ycc}w)Nc��eZdZd�Zy)�-TestCopy.test_deepcopy_weakkeydict.<locals>.Cc��||_yr
�rI�rrIs  rr)z6TestCopy.test_deepcopy_weakkeydict.<locals>.C.__init__P�	����rN�r0r1r2r)rCrrr-rWO���
rr-rtr�rV)
r4r�r;rPrr rrrYrMrIr	rF)	rr-rIrJrKr\r	rLrMs	         r�test_deepcopy_weakkeydictz"TestCopy.test_deepcopy_weakkeydictNs��	��	�%*�!�H�-�H�q�a��d�H�-�
��1�a���%�%�'����!����!���M�M�!������A�q�!�����Q���#�����1��q�!�����1��q�!�����1�������%�����1�������%�
���������Q���#��.s�Ec��Gd�dt�}td�D�cgc]
}||���c}\}}}}tj�}|||<|||<t	j
|�}|j
||�|jt|�d�t|j�d���\\}	}
\}}|j|	|�|j|	j|j�|j|
|�|j||�|j|j|j�|j||�~	~
~~~tj�|jt|�d�ycc}w)Nc��eZdZd�Zy)�/TestCopy.test_deepcopy_weakvaluedict.<locals>.Cc��||_yr
rYrZs  rr)z8TestCopy.test_deepcopy_weakvaluedict.<locals>.C.__init__dr[rNr\rCrrr-racr]rr-rtr�c� �|djSrgrY)�pairs rr/z6TestCopy.test_deepcopy_weakvaluedict.<locals>.<lambda>ns��D��G�I�Ir)rrV)r4r�r;rSrr rrrY�sortedr�rMrIrr	rF)
rr-rIrJrKr\r	rLrMrr �z�ts
             r�test_deepcopy_weakvaluedictz$TestCopy.test_deepcopy_weakvaluedictbsB��	��	�%*�!�H�-�H�q�a��d�H�-�
��1�a���'�'�)����!����!���M�M�!������A�q�!�����Q���#�����	�/E�F����A���A�����A��������a�c�c�"��
�
�a�������A��������a�c�c�"��
�
�a���
�q�!�Q�
���������Q���#��%.s�Fc�4�Gd�dt�}|�}|j|_tj|�}|j|j|j�|j
|jj|�|j�y)Nc��eZdZd�Zy)�0TestCopy.test_deepcopy_bound_method.<locals>.Fooc��yr
rCrs r�mz2TestCopy.test_deepcopy_bound_method.<locals>.Foo.m|s��rN)r0r1r2rmrCrr�Foork{s��
rrn)r4rmrKrr rr�__self__)rrnr��gs    r�test_deepcopy_bound_methodz#TestCopy.test_deepcopy_bound_methodzsg��	�&�	�
�E���c�c����M�M�!���������a�c�c�"��
�
�a�c�c�l�l�A�&�	���rN)Qr0r1r2rr!r7rPrjrrr�r�r�r�r�r�r�r�r�r�r�r�r�rrrr!r$r+r4r:rArFrKrPrTr\r`rbrerhrjrnrrrur|r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrr"r)r3r7r>r@rBrNrQrTr^rhrqrCrrrrs���;��
	'�'� !�	!�4�
+��'���'��*�	*�	*�'�"'�"	*�	*�*�$�
	"�	.�	'�'� !�	!�8�	/�%�$��
%��
"�-�
$�,�
'�	'�'�'�'�$'�$'�'�'�, ��	0�'�'�  �%�"-�"
��$�'�.�(	$�	'�.�%�>�.�2�	�'�+��*=�?�$�($�0	rrc��||zSr
rCr,s  rr1r1�s
��Q�q�S�jr�__main__)�__doc__rrKr;r��operatorrrrrrr�unittest�testr	rlrmrW�TestCaserr1r0�mainrCrr�<module>rzsu��%����
�+�+�����B��N���2�v���"6�6��s
�x� � �s
�l!��z���H�M�M�O�r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists