403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.18
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python313/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/test/__pycache__/test_copy.cpython-313.opt-2.pyc
�

��i�y��.�SSKrSSKrSSKrSSKrSSKJrJrJrJrJ	r	J
r
Jr SSKrSSK
Jr \\\\4r\	\
4r\\-r"SS\R$5r"SS\R$5r"SS	\R$5rS
r\S:Xa\R0"5 gg)�N)�le�lt�ge�gt�eq�ne�
attrgetter)�supportc���\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr Sr!S r"S!r#S"r$S#r%S$r&S%r'S&r(S'r)S(r*S)r+S*r,S+r-S,r.S-r/S.r0S/r1S0r2S1r3S2r4S3r5S4r6S5r7S6r8S7r9S8r:S9r;S:r<S;r=S<r>S=r?S>r@S?rAS@rBSArCSBrDSCrESDrFSErGSFrHSGrISHrJSIrKSJrLSKrMSLrNSMrOSNrPSOrQSPrRgQ)R�TestCopy�c��UR[R[R5 UR	[[R[55 g�N)�assertIs�copy�Error�error�
assertTrue�
issubclass�	Exception��selfs �#C:\Python313\\Lib\test\test_copy.py�test_exceptions�TestCopy.test_exceptionss/���
�
�d�j�j�$�*�*�-����
�4�:�:�y�9�:�c�V�Sn[R"U5nURX5 g�N�*)r�assertEqual�r�x�ys   r�test_copy_basic�TestCopy.test_copy_basics"�����I�I�a�L������rc�^�"U4SjS[5mT"S5n[R"U5nURURUR5 URURUR5 g)Nc�(>�\rSrSrSrU4SjrSrg)�"TestCopy.test_copy_copy.<locals>.C� c��Xlgr��foo�rr,s  r�__init__�+TestCopy.test_copy_copy.<locals>.C.__init__!����rc�(>�T"UR5$rr+�r�Cs �r�__copy__�+TestCopy.test_copy_copy.<locals>.C.__copy__#��������{�"rr+N)�__name__�
__module__�__qualname__�__firstlineno__r.r4�__static_attributes__�r3s�rr3r( s���
�
#�
#rr3r)�objectrr �	__class__r,�rr"r#r3s   @r�test_copy_copy�TestCopy.test_copy_copysW���	#��	#�

�b�E���I�I�a�L��������a�k�k�2����������&rc�^�"SS[5mU4SjnT"S5nUR[[RU5 [R
"TUT5 [R"U5nUR
X#5 UR[U5T5 URURUR5 g)Nc��\rSrSrSrSrg)�&TestCopy.test_copy_registry.<locals>.C�+c�<�[RU5nXlU$r�r=�__new__r,��clsr,�objs   rrH�.TestCopy.test_copy_registry.<locals>.C.__new__,����n�n�S�)�����
r�N�r7r8r9r:rHr;rNrrr3rD+���
rr3c�">�TUR44$rr+�rKr3s �r�pickle_C�-TestCopy.test_copy_registry.<locals>.pickle_C0��������z�?�"rr)
r=�assertRaises�	TypeErrorr�copyreg�pickle�assertIsNotr �typer,�rrSr"r#r3s    @r�test_copy_registry�TestCopy.test_copy_registry*s����	��	�
	#�
�b�E�����)�T�Y�Y��2����q�(�A�&��I�I�a�L�����������a��!�$����������&rc�^�"U4SjS[5n/mU"5n[R"U5nURX25 URTS/5 g)Nc�(>�\rSrSrU4SjrSrSrg)�'TestCopy.test_copy_reduce_ex.<locals>.C�;c�(>�TRS5 g�N����append�r�proto�cs  �r�
__reduce_ex__�5TestCopy.test_copy_reduce_ex.<locals>.C.__reduce_ex__<���������rc�&�URS5 g�Nzshouldn't call this��failrs r�
__reduce__�2TestCopy.test_copy_reduce_ex.<locals>.C.__reduce__?����	�	�/�0rrNN�r7r8r9r:rlrsr;�rks�rr3ra;�
���
�
1rr3re�r=rrr �rr3r"r#rks    @r�test_copy_reduce_ex�TestCopy.test_copy_reduce_ex:sH���	1��	1�
��
�C���I�I�a�L���
�
�a������Q�C� rc�^�"U4SjS[5n/mU"5n[R"U5nURX25 URTS/5 g)Nc�">�\rSrSrU4SjrSrg)�$TestCopy.test_copy_reduce.<locals>.C�Hc�(>�TRS5 grdrg�rrks �rrs�/TestCopy.test_copy_reduce.<locals>.C.__reduce__IrnrrNN�r7r8r9r:rsr;rws�rr3rH�
���
�
rr3reryrzs    @r�test_copy_reduce�TestCopy.test_copy_reduceGsH���	��	�
��
�C���I�I�a�L���
�
�a������Q�C� rc��"SS[5nU"5nUR[R[RU5 g)Nc��\rSrSrSrSrg)�"TestCopy.test_copy_cant.<locals>.C�Sc�n�URS5(a[U5e[RX5$�N�__reduce��
startswith�AttributeErrorr=�__getattribute__�r�names  rr��3TestCopy.test_copy_cant.<locals>.C.__getattribute__T�-���?�?�:�.�.�(��.�.��.�.�t�:�:rrNN�r7r8r9r:r�r;rNrrr3r�S���
;rr3)r=rVrr�rr3r"s   r�test_copy_cant�TestCopy.test_copy_cantRs1��	;��	;�

�C�����$�*�*�d�i�i��3rc�\�"SS5nSn"SS[RS9nSS[SS	S
-SSS
SSSURS[	[S55[S5[
SSS	5U[U[5/nUH)nUR[R"U5U5 M+ g)Nc��\rSrSrSrg)�+TestCopy.test_copy_atomic.<locals>.NewStyle�^rNN�r7r8r9r:r;rNrr�NewStyler�^���rr�c��grrNrNrr�f�$TestCopy.test_copy_atomic.<locals>.f`���rc��\rSrSrSrg)�0TestCopy.test_copy_atomic.<locals>.WithMetaclass�brNNr�rNrr�
WithMetaclassr�br�rr���	metaclass.r��d���Q�	@TF��?�hello�helloሴsworld��
re)�abc�ABCMeta�NotImplemented�__code__�bytes�range�slice�max�propertyrr)rr�r�r��testsr"s      r�test_copy_atomic�TestCopy.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���/SQn[R"U5nURX!5 URX!5 /n[R"U5nURX!5 URX!5 g)N�rer���rr rZr!s   r�test_copy_list�TestCopy.test_copy_listls^�����I�I�a�L���������������I�I�a�L�����������rc��SnUR[R"U5U5 SnUR[R"U5U5 SSS/4nUR[R"U5U5 g)Nr�rNrer�r�)rr�rr"s  r�test_copy_tuple�TestCopy.test_copy_tuplevs[�����
�
�d�i�i��l�A�&����
�
�d�i�i��l�A�&�
��1�b�M���
�
�d�i�i��l�A�&rc���SSS.n[R"U5nURX!5 URX!5 0n[R"U5nURX!5 URX!5 g)Nrer��r,�barr�r!s   r�test_copy_dict�TestCopy.test_copy_dict~sc���a� ���I�I�a�L���������������I�I�a�L�����������rc��1Skn[R"U5nURX!5 URX!5 [5n[R"U5nURX!5 URX!5 g�N>rer�r�)rr rZ�setr!s   r�
test_copy_set�TestCopy.test_copy_set�s`�����I�I�a�L�������������E���I�I�a�L�����������rc���[1Sk5nUR[R"U5U5 [5nUR[R"U5U5 gr�)�	frozensetrrr�s  r�test_copy_frozenset�TestCopy.test_copy_frozenset�s?���i� ���
�
�d�i�i��l�A�&��K���
�
�d�i�i��l�A�&rc��[S5n[R"U5nURX!5 URX!5 [5n[R"U5nURX!5 URX!5 g)Nsabc)�	bytearrayrr rZr!s   r�test_copy_bytearray�TestCopy.test_copy_bytearray�se���f����I�I�a�L�������������K���I�I�a�L�����������rc�t�"SS5nU"S5nUR[R"U5U5 g)Nc� �\rSrSrSrSrSrg)�*TestCopy.test_copy_inst_vanilla.<locals>.C�c��Xlgrr+r-s  rr.�3TestCopy.test_copy_inst_vanilla.<locals>.C.__init__�r0rc�4�URUR:H$rr+�r�others  r�__eq__�1TestCopy.test_copy_inst_vanilla.<locals>.C.__eq__�����x�x�5�9�9�,�,rr+N�r7r8r9r:r.r�r;rNrrr3r�����
�
-rr3r�r rr�s   r�test_copy_inst_vanilla�TestCopy.test_copy_inst_vanilla�s/��	-�	-�

�b�E��������1��q�)rc�|^�"U4SjS5mT"S5nUR[R"U5U5 g)Nc�.>�\rSrSrSrU4SjrSrSrg)�'TestCopy.test_copy_inst_copy.<locals>.C�c��Xlgrr+r-s  rr.�0TestCopy.test_copy_inst_copy.<locals>.C.__init__�r0rc�(>�T"UR5$rr+r2s �rr4�0TestCopy.test_copy_inst_copy.<locals>.C.__copy__�r6rc�4�URUR:H$rr+r�s  rr��.TestCopy.test_copy_inst_copy.<locals>.C.__eq__�r�rr+N)r7r8r9r:r.r4r�r;r<s�rr3r��s���
�
#�
-rr3rr��rr"r3s  @r�test_copy_inst_copy�TestCopy.test_copy_inst_copy�s0���	-�	-�
�b�E��������1��q�)rc�t�"SS5nU"S5nUR[R"U5U5 g)Nc�&�\rSrSrSrSrSrSrg)�.TestCopy.test_copy_inst_getinitargs.<locals>.C�c��Xlgrr+r-s  rr.�7TestCopy.test_copy_inst_getinitargs.<locals>.C.__init__�r0rc��UR4$rr+rs r�__getinitargs__�>TestCopy.test_copy_inst_getinitargs.<locals>.C.__getinitargs__�������{�"rc�4�URUR:H$rr+r�s  rr��5TestCopy.test_copy_inst_getinitargs.<locals>.C.__eq__�r�rr+N�r7r8r9r:r.rr�r;rNrrr3r�����
�
#�
-rr3rr�r�s   r�test_copy_inst_getinitargs�#TestCopy.test_copy_inst_getinitargs��/��	-�	-�
�b�E��������1��q�)rc��"SS[5nU"S5n[R"U5nURX15 URX25 UR	X25 URUR
UR
5 g)Nc�&�\rSrSrSrSrSrSrg)�-TestCopy.test_copy_inst_getnewargs.<locals>.C��c�<�[RU5nXlU$r��intrHr,�rJr,rs   rrH�5TestCopy.test_copy_inst_getnewargs.<locals>.C.__new__�����{�{�3�'�����rc��UR4$rr+rs r�__getnewargs__�<TestCopy.test_copy_inst_getnewargs.<locals>.C.__getnewargs__�����x�x�y� rc�4�URUR:H$rr+r�s  rr��4TestCopy.test_copy_inst_getnewargs.<locals>.C.__eq__�r�rr+N�r7r8r9r:rHrr�r;rNrrr3r����
�
!�
-rr3r�rr�assertIsInstancer rZr,�rr3r"r#s    r�test_copy_inst_getnewargs�"TestCopy.test_copy_inst_getnewargs�sh��	-��	-�
�b�E���I�I�a�L�����a�#��������������������&rc��"SS[5nU"SS9n[R"U5nURX15 URX25 UR	X25 URUR
UR
5 g)Nc�&�\rSrSrSrSrSrSrg)�0TestCopy.test_copy_inst_getnewargs_ex.<locals>.C��c�<�[RU5nXlU$rrrs   rrH�8TestCopy.test_copy_inst_getnewargs_ex.<locals>.C.__new__�rrc�"�SSUR04$�NrNr,r+rs r�__getnewargs_ex__�BTestCopy.test_copy_inst_getnewargs_ex.<locals>.C.__getnewargs_ex__�����E�4�8�8�,�,�,rc�4�URUR:H$rr+r�s  rr��7TestCopy.test_copy_inst_getnewargs_ex.<locals>.C.__eq__�r�rr+N�r7r8r9r:rHr+r�r;rNrrr3r%����
�
-�
-rr3rr+rr s    r�test_copy_inst_getnewargs_ex�%TestCopy.test_copy_inst_getnewargs_ex�sh��	-��	-�
�"�I���I�I�a�L�����a�#��������������������&rc�t�"SS5nU"S5nUR[R"U5U5 g)Nc�&�\rSrSrSrSrSrSrg)�+TestCopy.test_copy_inst_getstate.<locals>.C��c��Xlgrr+r-s  rr.�4TestCopy.test_copy_inst_getstate.<locals>.C.__init__�r0rc��SUR0$�Nr,r+rs r�__getstate__�8TestCopy.test_copy_inst_getstate.<locals>.C.__getstate__�����t�x�x�(�(rc�4�URUR:H$rr+r�s  rr��2TestCopy.test_copy_inst_getstate.<locals>.C.__eq__�r�rr+N�r7r8r9r:r.r<r�r;rNrrr3r6����
�
)�
-rr3rr�r�s   r�test_copy_inst_getstate� TestCopy.test_copy_inst_getstate�rrc�t�"SS5nU"S5nUR[R"U5U5 g)Nc�&�\rSrSrSrSrSrSrg)�+TestCopy.test_copy_inst_setstate.<locals>.C��c��Xlgrr+r-s  rr.�4TestCopy.test_copy_inst_setstate.<locals>.C.__init__�r0rc��USUlgr;r+�r�states  r�__setstate__�8TestCopy.test_copy_inst_setstate.<locals>.C.__setstate__��
�� ��<��rc�4�URUR:H$rr+r�s  rr��2TestCopy.test_copy_inst_setstate.<locals>.C.__eq__�r�rr+N�r7r8r9r:r.rNr�r;rNrrr3rG����
�
(�
-rr3rr�r�s   r�test_copy_inst_setstate� TestCopy.test_copy_inst_setstate�rrc���"SS5nU"S5nUR[R"U5U5 U"S5nUR[R"U5U5 g)Nc�,�\rSrSrSrSrSrSrSrg)�4TestCopy.test_copy_inst_getstate_setstate.<locals>.C�c��Xlgrr+r-s  rr.�=TestCopy.test_copy_inst_getstate_setstate.<locals>.C.__init__�r0rc��UR$rr+rs rr<�ATestCopy.test_copy_inst_getstate_setstate.<locals>.C.__getstate__�����x�x�rc��Xlgrr+rLs  rrN�ATestCopy.test_copy_inst_getstate_setstate.<locals>.C.__setstate__���� �rc�4�URUR:H$rr+r�s  rr��;TestCopy.test_copy_inst_getstate_setstate.<locals>.C.__eq__r�rr+N�	r7r8r9r:r.r<rNr�r;rNrrr3rY����
�
 �
!�
-rr3rgr�r�s   r� test_copy_inst_getstate_setstate�)TestCopy.test_copy_inst_getstate_setstate�sP��	-�	-�
�b�E��������1��q�)�
�c�F��������1��q�)rc�V�Sn[R"U5nURX!5 gr)r�deepcopyr r!s   r�test_deepcopy_basic�TestCopy.test_deepcopy_basics#�����M�M�!�������rc���/nX/n[R"U5nURX!5 URX!5 URUSUS5 UR	USUS5 g�Nrre)rrjr rZrr!s   r�test_deepcopy_memo�TestCopy.test_deepcopy_memosh��
��
�F���M�M�!�����������������1��q��t�$��
�
�a��d�A�a�D�!rc��"SS[5n"SSUS9nUR[R"U5U5 g)Nc��\rSrSrSrg)�/TestCopy.test_deepcopy_issubclass.<locals>.Metai rNNr�rNrr�Metars r�rrtc��\rSrSrSrg)�,TestCopy.test_deepcopy_issubclass.<locals>.Ci"rNNr�rNrrr3rv"r�rr3r�)r[r rrj)rrtr3s   r�test_deepcopy_issubclass�!TestCopy.test_deepcopy_issubclasss3��
	�4�	�	�$�	�������q�)�1�-rc�^�"U4SjS[5mT"S5n[R"U5nURURUR5 URUR
UR
5 g)Nc�,>�\rSrSrSrSU4SjjrSrg)�*TestCopy.test_deepcopy_deepcopy.<locals>.Ci'c��Xlgrr+r-s  rr.�3TestCopy.test_deepcopy_deepcopy.<locals>.C.__init__(r0rNc�(>�T"UR5$rr+�r�memor3s  �r�__deepcopy__�7TestCopy.test_deepcopy_deepcopy.<locals>.C.__deepcopy__*r6rr+r)r7r8r9r:r.r�r;r<s�rr3r{'s���
�
#�
#rr3r)r=rrjr r>r,r?s   @r�test_deepcopy_deepcopy�TestCopy.test_deepcopy_deepcopy&sX���	#��	#�

�b�E���M�M�!���������a�k�k�2����������&rc�^�"SS[5mU4SjnT"S5nUR[[RU5 [
R"TUT5 [R"U5nURX#5 UR[U5T5 URURUR5 g)Nc��\rSrSrSrSrg)�*TestCopy.test_deepcopy_registry.<locals>.Ci2c�<�[RU5nXlU$rrGrIs   rrH�2TestCopy.test_deepcopy_registry.<locals>.C.__new__3rMrrNNrOrNrrr3r�2rPrr3c�">�TUR44$rr+rRs �rrS�1TestCopy.test_deepcopy_registry.<locals>.pickle_C7rUrr)r=rVrWrrjrXrYrZr r[r,r\s    @r�test_deepcopy_registry�TestCopy.test_deepcopy_registry1s����	��	�
	#�
�b�E�����)�T�]�]�A�6����q�(�A�&��M�M�!������������a��!�$����������&rc�^�"U4SjS[5n/mU"5n[R"U5nURX25 UR	TS/5 g)Nc�(>�\rSrSrU4SjrSrSrg)�+TestCopy.test_deepcopy_reduce_ex.<locals>.CiBc�(>�TRS5 grdrgris  �rrl�9TestCopy.test_deepcopy_reduce_ex.<locals>.C.__reduce_ex__Crnrc�&�URS5 grprqrs rrs�6TestCopy.test_deepcopy_reduce_ex.<locals>.C.__reduce__FrurrNNrvrws�rr3r�Brxrr3re�r=rrjrr rzs    @r�test_deepcopy_reduce_ex� TestCopy.test_deepcopy_reduce_exAsI���	1��	1�
��
�C���M�M�!����
�
�a������Q�C� rc�^�"U4SjS[5n/mU"5n[R"U5nURX25 UR	TS/5 g)Nc�">�\rSrSrU4SjrSrg)�(TestCopy.test_deepcopy_reduce.<locals>.CiOc�(>�TRS5 grdrgr�s �rrs�3TestCopy.test_deepcopy_reduce.<locals>.C.__reduce__PrnrrNNr�rws�rr3r�Or�rr3rer�rzs    @r�test_deepcopy_reduce�TestCopy.test_deepcopy_reduceNsI���	��	�
��
�C���M�M�!����
�
�a������Q�C� rc��"SS[5nU"5nUR[R[RU5 g)Nc��\rSrSrSrSrg)�&TestCopy.test_deepcopy_cant.<locals>.CiZc�n�URS5(a[U5e[RX5$r�r�r�s  rr��7TestCopy.test_deepcopy_cant.<locals>.C.__getattribute__[r�rrNNr�rNrrr3r�Zr�rr3)r=rVrrrjr�s   r�test_deepcopy_cant�TestCopy.test_deepcopy_cantYs1��	;��	;�

�C�����$�*�*�d�m�m�Q�7rc���"SS5nSnSS[SSS-SS	S
SSS
SURU[S5[[	5/nUH)nUR[R"U5U5 M+ g)Nc��\rSrSrSrg)�/TestCopy.test_deepcopy_atomic.<locals>.NewStyleierNNr�rNrrr�r�er�rr�c��grrNrNrrr��(TestCopy.test_deepcopy_atomic.<locals>.fgr�r.rr�r�r�TFr�sbytesr�r�r�)r�r�r�r�r�rrrj)rr�r�r�r"s     r�test_deepcopy_atomic�TestCopy.test_deepcopy_atomicdsn��	�	�	��s�N�B��3���d�E�2��7�M�1�:�:��5��9�c�8�:�7���A��M�M�$�-�-��*�A�.�rc��SS/S/n[R"U5nURX!5 URX5 URUSUS5 g�Nrer�r�r�rrjr rZr!s   r�test_deepcopy_list�TestCopy.test_deepcopy_listo�Q����V�Q�K���M�M�!�����������������1��q��t�$rc� �/nURU5 [R"U5n[HnUR	[
X2U5 M UR
X!5 URUSU5 UR[U5S5 grn)
rhrrj�comparisonsrV�RecursionErrorrZrr �len�rr"r#�ops    r�test_deepcopy_reflexive_list�%TestCopy.test_deepcopy_reflexive_listvsp����	������M�M�!����B����n�b�Q�7��������
�
�a��d�A������Q���#rc�V�Sn[R"U5nURX5 g�NrN�rrjrr!s   r�test_deepcopy_empty_tuple�"TestCopy.test_deepcopy_empty_tuple�s!�����M�M�!����
�
�a�rc��SS/S4n[R"U5nURX!5 URX5 URUSUS5 gr�r�r!s   r�test_deepcopy_tuple�TestCopy.test_deepcopy_tuple�r�rc�V�Sn[R"U5nURX5 g)N)�rer�r�r�r!s   r�!test_deepcopy_tuple_of_immutables�*TestCopy.test_deepcopy_tuple_of_immutables�s!�����M�M�!����
�
�a�rc�(�/4nUSRU5 [R"U5n[HnUR	[
X2U5 M UR
X!5 UR
USUS5 URUSSU5 g�Nr)rhrrjr�rVr�rZrr�s    r�test_deepcopy_reflexive_tuple�&TestCopy.test_deepcopy_reflexive_tuple�s~��
�E��	�!����A���M�M�!����B����n�b�Q�7�����������1��q��t�$��
�
�a��d�1�g�q�!rc��SS/SS.n[R"U5nURX!5 URX5 URUSUS5 g)Nrer�r�r�r,r�r!s   r�test_deepcopy_dict�TestCopy.test_deepcopy_dict�sR����F�1�%���M�M�!�����������������5��1�U�8�,rc�N�0nXS'[R"U5n[HnUR[X2U5 M [
HnUR[X2U5 M URX!5 URUSU5 UR[U5S5 g)Nr,re)rrj�order_comparisonsrVrW�equality_comparisonsr�rZrr r�r�s    r�test_deepcopy_reflexive_dict�%TestCopy.test_deepcopy_reflexive_dict�s������%���M�M�!���#�B����i���2�$�&�B����n�b�Q�7�'�������
�
�a��h��"�����Q���#rc�z�0n/n[R"X!5nURU[U5SU5 gr�)rrjr�id�rr�r"r#s    r�test_deepcopy_keepalive� TestCopy.test_deepcopy_keepalive�s5�������M�M�!�"���
�
�d�2�d�8�n�Q�'��+rc�"�0n/SQn[R"X!5nURX25 UR[U5S5 0nS/n[R"X!5nURX25 UR[U5S5 g)N)rer�r��r�r�)rrjr r�r�s    r�!test_deepcopy_dont_memo_immutable�*TestCopy.test_deepcopy_dont_memo_immutable�sx�������M�M�!�"�����������T��A�&���
�H���M�M�!�"�����������T��A�&rc���"SS5nU"S/5n[R"U5nURX25 URURUR5 g)Nc� �\rSrSrSrSrSrg)�.TestCopy.test_deepcopy_inst_vanilla.<locals>.Ci�c��Xlgrr+r-s  rr.�7TestCopy.test_deepcopy_inst_vanilla.<locals>.C.__init__�r0rc�4�URUR:H$rr+r�s  rr��5TestCopy.test_deepcopy_inst_vanilla.<locals>.C.__eq__�r�rr+Nr�rNrrr3r��r�rr3r�rrjr rZr,r s    r�test_deepcopy_inst_vanilla�#TestCopy.test_deepcopy_inst_vanilla�sM��	-�	-�

�r�d�G���M�M�!�����������������&rc��^�"U4SjS5mT"S/5n[R"U5nURX!5 URX!5 URURUR5 g)Nc�.>�\rSrSrSrU4SjrSrSrg)�/TestCopy.test_deepcopy_inst_deepcopy.<locals>.Ci�c��Xlgrr+r-s  rr.�8TestCopy.test_deepcopy_inst_deepcopy.<locals>.C.__init__�r0rc�R>�T"[R"URU55$r)rrjr,rs  �rr��<TestCopy.test_deepcopy_inst_deepcopy.<locals>.C.__deepcopy__�s�������t�x�x��6�7�7rc�4�URUR:H$rr+r�s  rr��6TestCopy.test_deepcopy_inst_deepcopy.<locals>.C.__eq__�r�rr+N)r7r8r9r:r.r�r�r;r<s�rr3r��s���
�
8�
-rr3rr�r?s   @r�test_deepcopy_inst_deepcopy�$TestCopy.test_deepcopy_inst_deepcopy�s\���	-�	-�
�r�d�G���M�M�!����������������������&rc���"SS5nU"S/5n[R"U5nURX25 URX25 URURUR5 g)Nc�&�\rSrSrSrSrSrSrg)�2TestCopy.test_deepcopy_inst_getinitargs.<locals>.Ci�c��Xlgrr+r-s  rr.�;TestCopy.test_deepcopy_inst_getinitargs.<locals>.C.__init__�r0rc��UR4$rr+rs rr�BTestCopy.test_deepcopy_inst_getinitargs.<locals>.C.__getinitargs__�rrc�4�URUR:H$rr+r�s  rr��9TestCopy.test_deepcopy_inst_getinitargs.<locals>.C.__eq__�r�rr+NrrNrrr3r��rrr3rr�r s    r�test_deepcopy_inst_getinitargs�'TestCopy.test_deepcopy_inst_getinitargs��[��	-�	-�
�r�d�G���M�M�!����������������������&rc�^�"SS[5nU"S/5n[R"U5nURX15 UR	X25 URX25 UR	URUR5 URURUR5 g)Nc�&�\rSrSrSrSrSrSrg)�1TestCopy.test_deepcopy_inst_getnewargs.<locals>.Ci�c�<�[RU5nXlU$rrrs   rrH�9TestCopy.test_deepcopy_inst_getnewargs.<locals>.C.__new__�rrc��UR4$rr+rs rr�@TestCopy.test_deepcopy_inst_getnewargs.<locals>.C.__getnewargs__�rrc�4�URUR:H$rr+r�s  rr��8TestCopy.test_deepcopy_inst_getnewargs.<locals>.C.__eq__�r�rr+NrrNrrr3r��rrr3r�rrrjrr rZr,r s    r�test_deepcopy_inst_getnewargs�&TestCopy.test_deepcopy_inst_getnewargs�s���	-��	-�
�r�d�G���M�M�!������a�#��������������������&����������&rc�Z�"SS[5nU"S/S9n[R"U5nURX15 UR	X25 URX25 UR	URUR5 URURUR5 g)Nc�&�\rSrSrSrSrSrSrg)�4TestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.Ci�c�<�[RU5nXlU$rrrs   rrH�<TestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.C.__new__�rrc�"�SSUR04$r*r+rs rr+�FTestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.C.__getnewargs_ex__r-rc�4�URUR:H$rr+r�s  rr��;TestCopy.test_deepcopy_inst_getnewargs_ex.<locals>.C.__eq__r�rr+Nr0rNrrr3r�r1rr3rr+rr s    r� test_deepcopy_inst_getnewargs_ex�)TestCopy.test_deepcopy_inst_getnewargs_ex�s���	-��	-�
�2�$�K���M�M�!������a�#��������������������&����������&rc���"SS5nU"S/5n[R"U5nURX25 URX25 URURUR5 g)Nc�&�\rSrSrSrSrSrSrg)�/TestCopy.test_deepcopy_inst_getstate.<locals>.Cic��Xlgrr+r-s  rr.�8TestCopy.test_deepcopy_inst_getstate.<locals>.C.__init__r0rc��SUR0$r;r+rs rr<�<TestCopy.test_deepcopy_inst_getstate.<locals>.C.__getstate__r>rc�4�URUR:H$rr+r�s  rr��6TestCopy.test_deepcopy_inst_getstate.<locals>.C.__eq__r�rr+NrArNrrr3rrBrr3rr�r s    r�test_deepcopy_inst_getstate�$TestCopy.test_deepcopy_inst_getstater�rc���"SS5nU"S/5n[R"U5nURX25 URX25 URURUR5 g)Nc�&�\rSrSrSrSrSrSrg)�/TestCopy.test_deepcopy_inst_setstate.<locals>.Cic��Xlgrr+r-s  rr.�8TestCopy.test_deepcopy_inst_setstate.<locals>.C.__init__r0rc��USUlgr;r+rLs  rrN�<TestCopy.test_deepcopy_inst_setstate.<locals>.C.__setstate__ rPrc�4�URUR:H$rr+r�s  rr��6TestCopy.test_deepcopy_inst_setstate.<locals>.C.__eq__"r�rr+NrSrNrrr3r!rTrr3rr�r s    r�test_deepcopy_inst_setstate�$TestCopy.test_deepcopy_inst_setstater�rc��"SS5nU"S/5n[R"U5nURX25 URX25 URURUR5 U"/5n[R"U5nURX25 URX25 URURUR5 g)Nc�,�\rSrSrSrSrSrSrSrg)�8TestCopy.test_deepcopy_inst_getstate_setstate.<locals>.Ci+c��Xlgrr+r-s  rr.�ATestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__init__,r0rc��UR$rr+rs rr<�ETestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__getstate__.r_rc��Xlgrr+rLs  rrN�ETestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__setstate__0rbrc�4�URUR:H$rr+r�s  rr��?TestCopy.test_deepcopy_inst_getstate_setstate.<locals>.C.__eq__2r�rr+NrerNrrr3r,+rfrr3rr�r s    r�$test_deepcopy_inst_getstate_setstate�-TestCopy.test_deepcopy_inst_getstate_setstate*s���	-�	-�
�r�d�G���M�M�!����������������������&�
�b�E���M�M�!����������������������&rc��"SS5nU"5nX"l[R"U5nURX25 UR	URU5 g)Nc��\rSrSrSrg)�0TestCopy.test_deepcopy_reflexive_inst.<locals>.CiArNNr�rNrrr3r9Ar�rr3)r,rrjrZrr s    r�test_deepcopy_reflexive_inst�%TestCopy.test_deepcopy_reflexive_inst@sF��	�	�
�C�����M�M�!���������
�
�a�e�e�Q�rc���"SS[5nU"5n[R"U5nURX25 [R"U5nURX25 g)Nc��\rSrSrSrSrg)�+TestCopy.test_reconstruct_string.<locals>.CiLc��g)NrfrNrs rrs�6TestCopy.test_reconstruct_string.<locals>.C.__reduce__Ms��rrNNr�rNrrr3r>Ls��
rr3)r=rrrjr s    r�test_reconstruct_string� TestCopy.test_reconstruct_stringKsJ��	��	�
�C���I�I�a�L���
�
�a���M�M�!����
�
�a�rc�6^�"U4SjS[5mT"5nSUl[R"U5nURURUR5 [R
"U5nURURUR5 g)Nc�">�\rSrSrU4SjrSrg)�,TestCopy.test_reconstruct_nostate.<locals>.CiVc�>�TS4$r�rNr2s �rrs�7TestCopy.test_reconstruct_nostate.<locals>.C.__reduce__Ws����2�w�rrNNr�r<s�rr3rEVs
���
�
rr3r)r=r,rrr>rjr?s   @r�test_reconstruct_nostate�!TestCopy.test_reconstruct_nostateUsf���	��	�
�C������I�I�a�L���
�
�a�k�k�1�;�;�/��M�M�!����
�
�a�k�k�1�;�;�/rc�0^�"U4SjS[5mT"5nS/Ul[R"U5nURX!5 [R"U5nURX!5 URURUR5 g)Nc�(>�\rSrSrU4SjrSrSrg)�*TestCopy.test_reconstruct_state.<locals>.Ciac�">�TSUR4$r���__dict__r2s �rrs�5TestCopy.test_reconstruct_state.<locals>.C.__reduce__b�����2�t�}�}�-�-rc�4�URUR:H$rrNr�s  rr��1TestCopy.test_reconstruct_state.<locals>.C.__eq__d����}�}����6�6rrNN�r7r8r9r:rsr�r;r<s�rr3rLas
���
.�
7rr3r�r=r,rr rjrZr?s   @r�test_reconstruct_state�TestCopy.test_reconstruct_state`sp���	7��	7�

�C�������I�I�a�L��������M�M�!�����������������&rc�0^�"U4SjS[5mT"5nS/Ul[R"U5nURX!5 [R"U5nURX!5 URURUR5 g)Nc�.>�\rSrSrU4SjrSrSrSrg)�3TestCopy.test_reconstruct_state_setstate.<locals>.Cioc�">�TSUR4$r�rNr2s �rrs�>TestCopy.test_reconstruct_state_setstate.<locals>.C.__reduce__prQrc�:�URRU5 gr)rO�updaterLs  rrN�@TestCopy.test_reconstruct_state_setstate.<locals>.C.__setstate__rs���
�
�$�$�U�+rc�4�URUR:H$rrNr�s  rr��:TestCopy.test_reconstruct_state_setstate.<locals>.C.__eq__trTrrNN)r7r8r9r:rsrNr�r;r<s�rr3r[os���
.�
,�
7rr3rrVr?s   @r�test_reconstruct_state_setstate�(TestCopy.test_reconstruct_state_setstatensp���	7��	7�
�C�������I�I�a�L��������M�M�!�����������������&rc���"SS[5nU"5nX"l[R"U5nUR	X25 URURU5 g)Nc��\rSrSrSrg)�.TestCopy.test_reconstruct_reflexive.<locals>.CirNNr�rNrrr3rgr�rr3)r=r,rrjrZrr s    r�test_reconstruct_reflexive�#TestCopy.test_reconstruct_reflexive~sH��	��	�
�C�����M�M�!���������
�
�a�e�e�Q�rc�^�"U4SjS[5mT"SS/S/5n[R"U5nURX5 URX5 UR	USUS5 [R
"U5nURX5 URX5 URUSUS5 g)Nc�(>�\rSrSrU4SjrSrSrg)�&TestCopy.test_reduce_4tuple.<locals>.Ci�c�6>�TSUR[U54$r�)rO�iterr2s �rrs�1TestCopy.test_reduce_4tuple.<locals>.C.__reduce__�s����2�t�}�}�d�4�j�9�9rc�p�[U5[U5:H=(a URUR:H$r)�listrOr�s  rr��-TestCopy.test_reduce_4tuple.<locals>.C.__eq__��,���T�
�d�5�k�1�8��
�
����7�9rrNNrUr<s�rr3rl�s
���
:�
9rr3rer�r�r)rqrr rZrrjr?s   @r�test_reduce_4tuple�TestCopy.test_reduce_4tuple�s����	9��	9�
��1�v�q�k�N���I�I�a�L�������������
�
�a��d�A�a�D�!��M�M�!�����������������1��q��t�$rc�^�"U4SjS[5mT"SSS/4S/5n[R"U5nURX5 URX5 UR	USUS5 [R
"U5nURX5 URX5 URUSUS5 g)Nc�(>�\rSrSrU4SjrSrSrg)�&TestCopy.test_reduce_5tuple.<locals>.Ci�c�T>�TSURS[UR554$r�)rOrn�itemsr2s �rrs�1TestCopy.test_reduce_5tuple.<locals>.C.__reduce__�s#����2�t�}�}�d�D�����4F�G�Grc�p�[U5[U5:H=(a URUR:H$r)�dictrOr�s  rr��-TestCopy.test_reduce_5tuple.<locals>.C.__eq__�rsrrNNrUr<s�rr3rx�s���
H�
9rr3r,rer�)r�r�)r}rr rZrrjr?s   @r�test_reduce_5tuple�TestCopy.test_reduce_5tuple�s����	9��	9�
���1�v��
�+�,���I�I�a�L�������������
�
�a��h��%��)��M�M�!�����������������5��1�U�8�,rc�T^^^�U4Sjm"UU4SjS5mT"5nTR[5 [R"U5 SSS5 TR[5 [R"U5 SSS5 g!,(df   NC=f!,(df   g=f)Nc�(>�TRS5 grprq)�args�kwargsrs  �r�state_setter�1TestCopy.test_reduce_6tuple.<locals>.state_setter�s����I�I�+�,rc�$>�\rSrSrUU4SjrSrg)�&TestCopy.test_reduce_6tuple.<locals>.Ci�c�(>�TSURSST4$r�rN)rr3r�s ��rrs�1TestCopy.test_reduce_6tuple.<locals>.C.__reduce__�s����"�d�m�m�T�4��E�ErrNNr�)r3r�s��rr3r��s���
F�
Frr3�rVrWrrj)rr"r3r�s` @@r�test_reduce_6tuple�TestCopy.test_reduce_6tuple�sm���	-�	F�	F�
�C��
�
�
�y�
)��I�I�a�L�*�
�
�
�y�
)��M�M�!��*�
)�*�
)��
)�
)�s�B�(B�
B�
B'c�B^�"U4SjS5mT"5nUR[5 [R"U5 SSS5 UR[5 [R"U5 SSS5 g!,(df   NC=f!,(df   g=f)Nc�">�\rSrSrU4SjrSrg)�+TestCopy.test_reduce_6tuple_none.<locals>.Ci�c�(>�TSURSSS4$r�rNr2s �rrs�6TestCopy.test_reduce_6tuple_none.<locals>.C.__reduce__�s����"�d�m�m�T�4��=�=rrNNr�r<s�rr3r��s
���
>�
>rr3r�r�s  @r�test_reduce_6tuple_none� TestCopy.test_reduce_6tuple_none�sf���	>�	>�
�C��
�
�
�y�
)��I�I�a�L�*�
�
�
�y�
)��M�M�!��*�
)�*�
)��
)�
)�s�A?�B�?
B
�
Bc��"SS[5nU"5nS/Ul[R"U5nURURUR5 g)Nc��\rSrSrS/rSrg)�#TestCopy.test_copy_slots.<locals>.Ci�r,rNN�r7r8r9r:�	__slots__r;rNrrr3r���	����Irr3r)r=r,rrr s    r�test_copy_slots�TestCopy.test_copy_slots�sA��	 ��	 �
�C�������I�I�a�L���
�
�a�e�e�Q�U�U�#rc��"SS[5nU"5nS/Ul[R"U5nUR	URUR5 URURUR5 g)Nc��\rSrSrS/rSrg)�'TestCopy.test_deepcopy_slots.<locals>.Ci�r,rNNr�rNrrr3r��r�rr3r)r=r,rrjr rZr s    r�test_deepcopy_slots�TestCopy.test_deepcopy_slots�s\��	 ��	 �
�C�������M�M�!������������&����������&rc�f�"SS[5nU"SS0S9n[R"U5nURX#5 URURUR5 URX#5 SUS'UR
X#5 UR
URUR5 g)Nc�8^�\rSrSrSU4SjjrU4SjrSrU=r$)�/TestCopy.test_deepcopy_dict_subclass.<locals>.Ci�c�r>�U(d0n[UR55Ul[TU]U5 gr)rq�keys�_keys�superr.)r�dr>s  �rr.�8TestCopy.test_deepcopy_dict_subclass.<locals>.C.__init__�s)�����A�!�!�&�&�(�^��
��� ��#rc�z>�[TU]X5 XR;aURRU5 ggr)r��__setitem__r�rh)r�key�itemr>s   �rr��;TestCopy.test_deepcopy_dict_subclass.<locals>.C.__setitem__�s1�����#�C�.��j�j�(��J�J�%�%�c�*�)r)r�r)r7r8r9r:r.r�r;�
__classcell__)r>s@rr3r��s���
$�

+�
+rr3r,r)r�rer�)r}rrjr r�rZ�assertNotEqualr s    r�test_deepcopy_dict_subclass�$TestCopy.test_deepcopy_dict_subclass�s���		+��		+�
��q�	�N���M�M�!��������������!�'�'�*��������%�����A�!����A�G�G�Q�W�W�-rc��"SS[5nU"SS/S/5nSS/Ul[R"U5nUR[U5[U55 URURUR5 UR	USUS5 UR	URUR5 g)	Nc��\rSrSrSrg)�+TestCopy.test_copy_list_subclass.<locals>.Ci�rNNr�rNrrr3r��r�rr3rer�r�r��r)rqr,rr rr s    r�test_copy_list_subclass� 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��"SS[5nU"SS/S/5nSS/Ul[R"U5nUR	[U5[U55 UR	URUR5 URUSUS5 URURUR5 g)	Nc��\rSrSrSrg)�/TestCopy.test_deepcopy_list_subclass.<locals>.Ci�rNNr�rNrrr3r��r�rr3rer�r�r�r�r)rqr,rrjr rZr s    r�test_deepcopy_list_subclass�$TestCopy.test_deepcopy_list_subclass�s���	��	�
��1�v�q�k�N���A�����M�M�!�������a��$�q�'�*����������&�����1��q��t�$����������&rc���"SS[5nU"/SQ5nUR[U5S5 [R"U5nUR[U5S5 g)Nc��\rSrSrSrg)�,TestCopy.test_copy_tuple_subclass.<locals>.Ci�rNNr�rNrrr3r��r�rr3r�)�tupler rr s    r�test_copy_tuple_subclass�!TestCopy.test_copy_tuple_subclass�sL��	��	�
�i�L������q��9�-��I�I�a�L������q��9�-rc�4�"SS[5nU"SS/S/5nUR[U5SS/S45 [R"U5nUR[U5SS/S45 UR	X#5 UR	USUS5 g)Nc��\rSrSrSrg)�0TestCopy.test_deepcopy_tuple_subclass.<locals>.CirNNr�rNrrr3r�r�rr3rer�r�r)r�r rrjrZr s    r�test_deepcopy_tuple_subclass�%TestCopy.test_deepcopy_tuple_subclasss���	��	�
��1�v�q�k�N������q��Q��F�A�;�/��M�M�!�������q��Q��F�A�;�/����������1��q��t�$rc�v�"SS[5nUR[[RU"55 g)Nc��\rSrSrSrSrg)�-TestCopy.test_getstate_exc.<locals>.EvilStateic��[S5e)Nzain't got no stickin' state)�
ValueErrorrs rr<�:TestCopy.test_getstate_exc.<locals>.EvilState.__getstate__s�� �!>�?�?rrNN)r7r8r9r:r<r;rNrr�	EvilStater�s��
@rr�)r=rVr�r)rr�s  r�test_getstate_exc�TestCopy.test_getstate_excs*��	@��	@�	
���*�d�i�i���=rc��UR[R"[5[5 SnUR[R"U5U5 SnUR[R"U5U5 g)Nc�
�X-$rrN�r"r#s  rr,�(TestCopy.test_copy_function.<locals>.foo���a�c�zrc��grrNrNrr�<lambda>�-TestCopy.test_copy_function.<locals>.<lambda>���dr)r r�
global_foo�rr,r�s   r�test_copy_function�TestCopy.test_copy_functionsS��������:�.�
�;�!�������3���-���������3���-rc��UR[R"[5[5 SnUR[R"U5U5 SnUR[R"U5U5 g)Nc�
�X-$rrNr�s  rr,�,TestCopy.test_deepcopy_function.<locals>.foor�rc��grrNrNrrr��1TestCopy.test_deepcopy_function.<locals>.<lambda>r�r)r rrjr�r�s   r�test_deepcopy_function�TestCopy.test_deepcopy_functionsU��������z�2�J�?�!�������s�+�S�1���������s�+�S�1rc���"SS[5nU"5n[R"U5nU"U5nURXT5 AU"U5nURXT5 g)Nc��\rSrSrSrg)�"TestCopy._check_weakref.<locals>.Ci#rNNr�rNrrr3r�#r�rr3)r=�weakref�refr)r�_copyr3rKr"r#s      r�_check_weakref�TestCopy._check_weakref"sP��	��	��c���K�K�����!�H���
�
�a����!�H���
�
�a�rc�B�UR[R5 gr)r�rrs r�test_copy_weakref�TestCopy.test_copy_weakref-s�����D�I�I�&rc�B�UR[R5 gr)r�rrjrs r�test_deepcopy_weakref�TestCopy.test_deepcopy_weakref0s�����D�M�M�*rc�.�"SS[5n[S5Vs/sH	o2"5PM snupEpgU"5nXXU'XxU'[R"U5n	URX�5 UR	X�5 UR	X�U5 UR	X�U5 UR	[U	5S5 AA[R"5 UR	[U	5S5 U"5U"5p�X�U
'URX�5 gs snf)Nc��\rSrSrSrg)�(TestCopy._check_copy_weakdict.<locals>.Ci4rNNr�rNrrr3r�4r�rr3r�r�re)	r=r�rrZr r�r
�
gc_collect�assertNotIn)r�	_dicttyper3�i�a�brkr��u�vr"r#s            r�_check_copy_weakdict�TestCopy._check_copy_weakdict3s���	��	�#(��8�,�8�a�a�c�8�,�
��a��K���!���!���I�I�a�L�����������������q�!������q�!�����Q���#�
�q���������Q���#��s�A�C�1��!��������!-s�Dc�B�UR[R5 gr)rr��WeakKeyDictionaryrs r�test_copy_weakkeydict�TestCopy.test_copy_weakkeydictHs���!�!�'�";�";�<rc�B�UR[R5 gr)rr��WeakValueDictionaryrs r�test_copy_weakvaluedict� TestCopy.test_copy_weakvaluedictKs���!�!�'�"=�"=�>rc��"SS[5n[S5Vs/sH
o!"U5PM snup4pV[R"5nXGU'XgU'[R
"U5nUR
X�5 UR[U5S5 URX�U5 URX�U5 URX�RUR5 URX�RUR5 A[R"5 UR[U5S5 gs snf)Nc��\rSrSrSrSrg)�-TestCopy.test_deepcopy_weakkeydict.<locals>.CiOc��Xlgr�r��rr�s  rr.�6TestCopy.test_deepcopy_weakkeydict.<locals>.C.__init__P����rrN�r7r8r9r:r.r;rNrrr3rO���
rr3r�r�re)
r=r�r�rrrjr�r r�rZr�r
r�)	rr3r�r�r�rkr�r�r�s	         r�test_deepcopy_weakkeydict�"TestCopy.test_deepcopy_weakkeydictNs���	��	�%*�!�H�-�H�q�a��d�H�-�
��a��%�%�'���!���!���M�M�!������A�!�����Q���#������q�!������q�!�����������%�����������%�
���������Q���#��.s�D=c��"SS[5n[S5Vs/sH
o!"U5PM snup4pV[R"5nXGU'XgU'[R
"U5nUR
X�5 UR[U5S5 [UR5SS9uup�up�URX�5 URU	RUR5 URX�5 URX�5 URURUR5 URX�5 A	A
AAA[R"5 UR[U5S5 gs snf)Nc��\rSrSrSrSrg)�/TestCopy.test_deepcopy_weakvaluedict.<locals>.Cicc��Xlgrrrs  rr.�8TestCopy.test_deepcopy_weakvaluedict.<locals>.C.__init__drrrNrrNrrr3rcrrr3r�r�c� �USR$r�r)�pairs rr��6TestCopy.test_deepcopy_weakvaluedict.<locals>.<lambda>ns��D��G�I�Ir)r�re)r=r�r�rrrjr�r r��sortedrzrZr�rr
r�)
rr3r�r�r�rkr�r�r�r"r#�z�ts
             r�test_deepcopy_weakvaluedict�$TestCopy.test_deepcopy_weakvaluedictbs,��	��	�%*�!�H�-�H�q�a��d�H�-�
��a��'�'�)���!���!���M�M�!������A�!�����Q���#�����	�/E�F�����������������a�c�c�"��
�
�a�������������a�c�c�"��
�
�a��
�q�!�Q�
���������Q���#��%.s�E9c�6�"SS[5nU"5nURUl[R"U5nURURUR5 UR
URRU5 UR5 g)Nc��\rSrSrSrSrg)�0TestCopy.test_deepcopy_bound_method.<locals>.Fooi{c��grrNrs r�m�2TestCopy.test_deepcopy_bound_method.<locals>.Foo.m|s��rrNN)r7r8r9r:r'r;rNrr�Foor%{s��
rr))r=r'r�rrjr r�__self__)rr)r��gs    r�test_deepcopy_bound_method�#TestCopy.test_deepcopy_bound_methodzsg��	�&�	�
�E���c�c����M�M�!���������a�c�c�"��
�
�a�c�c�l�l�A�&�	���rrNN)Sr7r8r9r:rr$r@r]r{r�r�r�r�r�r�r�r�r�r�r�r	r!r2rCrUrgrkrorwr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrr(r5r:rArHrWrcrhrtrr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrr!r,r;rNrrrrs���;��
	'�'� !�	!�4�
+��'���'��*�	*�	*�'�"'�"	*�	*�*�$�
	"�	.�	'�'� !�	!�8�	/�%�$��
%��
"�-�
$�,�
'�	'�'�'�'�$'�$'�'�'�, ��	0�'�'�  �%�"-�"
��$�'�.�(	$�	'�.�%�>�.�2�	�'�+��*=�?�$�($�0	rrc�,�\rSrSrSrSrSrSrSrg)�TestReplacei�c���UR[[RS5 UR[[R/5 UR[[R05 SnUR[[RU5 "SS5nUR[[RU5 UR[[RU"55 g)Nrec��grrNrNrrr��'TestReplace.test_unsupported.<locals>.f�s��rc��\rSrSrSrg)�'TestReplace.test_unsupported.<locals>.Ai�rNNr�rNrr�Ar4�s��rr5)rVrWr�replace)rr�r5s   r�test_unsupported�TestReplace.test_unsupported�s������)�T�\�\�1�5����)�T�\�\�2�6����)�T�\�\�2�6�����)�T�\�\�1�5��
����)�T�\�\�1�5����)�T�\�\�1�3�7rc
��"SS5n[SSS5nU"SS5nURU"[R"U55S5 URU"[R"US	S
95S5 URU"[R"USS
95S5 URU"[R"US	SS95S5 g)Nc�*�\rSrSrSSjrSrSrSrg)�*TestReplace.test_replace_method.<locals>.Ai�c�H�[RU5nXlX#lU$r)r=rHr"r#)rJr"r#rs    rrH�2TestReplace.test_replace_method.<locals>.A.__new__�s���~�~�c�*�������rc�@�URUR-Ulgr�r"r#r)rr�r�s   rr.�3TestReplace.test_replace_method.<locals>.A.__init__�s�����$�&�&���rc��URSUR5nURSUR5n[U5"X#5$)Nr"r#)�getr"r#r[)r�changesr"r#s    r�__replace__�6TestReplace.test_replace_method.<locals>.A.__replace__�s9���K�K��T�V�V�,���K�K��T�V�V�,���D�z�!�'�'rr?N�r)r7r8r9r:rHr.rDr;rNrrr5r;�s��
�
)�
(rr5r"r#r��)rGrH�!re�r")rerH�r��r#)rGr��
r�r�)r	r rr6)rr5�attrsr�s    r�test_replace_method�TestReplace.test_replace_method�s���
	(�
	(��3��S�)��
�b�"�I������t�|�|�A��/��>�����t�|�|�A��3�4�k�B�����t�|�|�A��3�4�k�B�����t�|�|�A��a�8�9�9�Erc
��SSKJn SSKJn U"SSSS9n"SS	U5n"S
SU5nX4U4GH'nUR	US9 U"S
S5nURXv5 UR
[R"U5S5 UR[R"U5U5 UR
[R"USS9S5 UR
[R"USS9S5 UR
[R"USSS9S5 UR[S5 [R"USSS9 SSS5 SSS5 GM* g!,(df   N=f!,(df   GMN=f)Nr)�
namedtuple)�
NamedTuple�Pointzx yrF)�defaultsc��\rSrSrSrg)�9TestReplace.test_namedtuple.<locals>.PointFromInheritancei�rNNr�rNrr�PointFromInheritancerW�r�rrXc�.�\rSrSr%\\S'Sr\\S'Srg)�3TestReplace.test_namedtuple.<locals>.PointFromClassi�r"rr#rNN�r7r8r9r:r�__annotations__r#r;rNrr�PointFromClassrZ�s���F��A�s�Jrr])rTrGrH�rGrHrerJ�rerHr�rL�rGr�r�r�zunexpected field name�r"r)�collectionsrR�typingrS�subTestrr rr6�assertRaisesRegexrW)rrRrS�
PointFromCallrXr]rT�ps        r�test_namedtuple�TestReplace.test_namedtuple�s,��*�%�"�7�E�D�A�
�	�=�	�	�Z�	�$�>�J�E����E��*��"�b�M���%�%�a�/�� � ����a��(�;��%�%�d�l�l�1�o�u�=�� � ����a�1�!5�w�?�� � ����a�1�!5�w�?�� � ����a�1��!:�F�C��+�+�I�7N�O��L�L��a�q�1�P�+�*�K�P�O��+�*�s%�C-E-�/E�E-�
E*�&E-�-
E=	c
�@�SSKJn U"SS55n[SS5nU"SS5nURU"[R
"U55S	5 URU"[R
"US
S95S5 URU"[R
"US
S95S5 URU"[R
"US
S
S95S5 UR
[S5 [R
"US
S
S9 SSS5 g!,(df   g=f)Nr)�	dataclassc�.�\rSrSr%\\S'Sr\\S'Srg)�%TestReplace.test_dataclass.<locals>.Ci�r"rr#rNNr[rNrrr3rm�s���F��A�s�Jrr3r"r#rGrHr^rerJr_r�rLr`r�r�zunexpected keyword argumentra)�dataclassesrkr	r rr6rerW)rrkr3rNrks     r�test_dataclass�TestReplace.test_dataclass�s���)�	�	�	�
�	��3��$��
�b�"�I������t�|�|�A��/��:�����t�|�|�A��3�4�g�>�����t�|�|�A��3�4�g�>�����t�|�|�A��a�8�9�6�B�
�
#�
#�I�/L�
M��L�L��a�q�)�N�
M�
M�s�/D�
DrNN)	r7r8r9r:r7rOrhror;rNrrr/r/�s��8�F�.2�**rr/c��\rSrSrSrSrg)�MiscTestCasei�c�<�[R"U[SS1S9 g)N�dispatch_tabler)�not_exported)r
�check__all__rrs r�test__all__�MiscTestCase.test__all__�s�����T�4�7G��6Q�RrrNN)r7r8r9r:rwr;rNrrrrrr�s��Srrrc�
�X-$rrNr�s  rr�r��s��Q�S�jr�__main__)rrXr�r��operatorrrrrrrr	�unittest�testr
r�r�r��TestCaserr/rrr�r7�mainrNrr�<module>r�s������
�7�7�7�����B��N���2�v���"6�6��s
�x� � �s
�lF*�(�#�#�F*�RS�8�$�$�S�!��z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit