403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
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 :  /Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/test/__pycache__/test_super.cpython-315.pyc
R
>lqjLc�H�Qs]PHs]PHs]PHs]PHs]PHs]QHGs]QH G	s	G
s
QQ2sQQ\2sQQ\2s
Q	Q
\
\2sQQ\2sQ
Q\2sQQ\2sQQ\O$2s\Q6Xc\O*2P!P!)z9Unit tests for zero-argument super() & related machinery.)�patch)�
import_helper�threading_helperc�8`�\sQs]snQs\Q2sQsUsP!)�Ac��Q!�r���selfs&�$C:\Python315\\Lib\test\test_super.py�f�A.f
s���c��UQ1!rr��clss&r�cm�A.cms���S�z�rr)	�__name__�
__module__�__qualname__�__firstlineno__r�classmethodr�__static_attributes__�__classdictcell__��
__classdict__s@rrrs��������rrc�J``�\sQs]snU1Qks\U1Qk2sQsUsU9s	!)�Bc�0:�[RU_2Q*!�r��superr�r
�	__class__s&�rr�B.f�����w�y�{�S� � rc�(:�U[RU_2Q1!r �r"r�rr$s&�rr�B.cm�����U�W�Z�\�3�'�'rr�
rrrrrrrrr�
__classcell__�r$rs@@rrr�!����!��(��(�(rrc�J``�\sQs]snU1Qks\U1Qk2sQsUsU9s	!)�Cc�0:�[RU_2Q*!�r1r!r#s&�rr�C.fr&rc�(:�U[RU_2Q1!r3r(r)s&�rr�C.cmr+rrr,r.s@@rr1r1r/rr1c�@``�\sQs]!snU1QksU1QksQsUsU9s!)�Dc�0:�[RU_2Q*!�r8r!r#s&�rr�D.f"r&rc�(:�U[RU_2Q1!r:r(r)s&�rr�D.cm$s����U�W�Z�\�3�'�'rr)	rrrrrrrrr-r.s@@rr8r8!s����!�(�(rr8c��\sQs]'sQsP!)�Er�rrrrrrrrr?r?'���rr?c�0�\sQs]*s\O
sQsP!)�Fr)rrrrr?rrrrrrCrC*s��	���ArrCc��\sQs]-sQsP!)�Grr@rrrrErE-rArrEc�``�\sQs]1snU1QksQsQsQsQsQs	Qs
QsU1Q	ksQ
s
QsQsQ
sQsQsQsQsQsQsU1QksQsU1QksU1QksU1QksQsQsQsQsQs Qs!Qs"U1Q ks#U1Q!ks$U1Q"ks%Q#s&Q$s'\(OR2Q%2s*U1Q&ks+U1Q'ks,U1Q(ks-U1Q)ks.Q*s/Us0U9s1!)+�	TestSuperc�:�[nP!�N)rGr#s&�r�tearDown�TestSuper.tearDown3s
����	rc�X�UO[2O2Q2P!��ABCD��assertEqualr8rr	s&r�test_basics_working�TestSuper.test_basics_working8s����������&�)rc�b�UO[O[22Q2P!rMrOr	s&r�test_class_getattr_working�$TestSuper.test_class_getattr_working;s��������Q�S��6�*rc��UO[2O2Q2UO[O[22Q2P!rM)rPr?rr	s&r�!test_subclass_no_override_working�+TestSuper.test_subclass_no_override_working>�4����������&�)�������Q�S��6�*rc��UO[2O2Q2UO[O[22Q2P!rM)rPrCrr	s&r�$test_unbound_method_transfer_working�.TestSuper.test_unbound_method_transfer_workingBrYrc�h�UO[O2[Q12UO[2O2[Q12UO[O2[Q12UO[2O2[Q12P!r)rPrrrEr	s&r� test_class_methods_still_working�*TestSuper.test_class_methods_still_workingFsn���������!�S��*���������A�s�8�,��������!�S��*���������A�s�8�,rc��[2oUOUO2U[[[Q1Q1Q1Q12[2oUOUO2U[[[Q1Q1Q1Q12P!)rrr1r8)r8rPrr?)r
�d�es&  r�#test_super_in_class_methods_working�-TestSuper.test_super_in_class_methods_workingLsn��
�C���������!�a�!�a��X�s�);�S�%A�3�!G�H�
�C���������!�a�!�a��X�s�);�S�%A�3�!G�Hrc�p�QQ[2oUOU2O2Q2P!)c�4``�\sQs]UsnU1QksQsUsU9s!)�,TestSuper.test_super_with_closure.<locals>.Ec�>:`�U1Qko[RR_2Q*!)c�:�RP!rIrr	s�r�nested�>TestSuper.test_super_with_closure.<locals>.E.f.<locals>.nestedWs���rr?r!)r
rjr$sf �rr�.TestSuper.test_super_with_closure.<locals>.E.fVs�����w�y�{�S�(�(rr�rrrrrrrr-r.s@@rr?rgUs����
)�
)rr?�AE)rrPr)r
r?s& r�test_super_with_closure�!TestSuper.test_super_with_closureRs(��	)��	)�	
��������$�'rc��:�QQ[2oU2oUOUO2Q2UOUOQ2U1QkQ2oUO	UO
[
U22UO[29^tt^2o[Q[2-2PPP2UO	[
WO2[2QQ2oUO[2Q*]*2[2QUOQUO2U1QkQ2oUOR]*2P!)%fhK�9h)	c�8``�\sQs]_snU1QksQsQsUsU9s!)�7TestSuper.test_various___class___pathologies.<locals>.Xc�":�[RU_2!rIr!r#s&�rr�9TestSuper.test_various___class___pathologies.<locals>.X.f`s����w�y�{�"r�r)	rrrrrr$rrr-r.s@@r�Xrs_s����
#��I�Irrwrrvc�<:``�\sQs]fsnYsU1QksQsUsU9s!)rsc�:�RP!rIr�r$s�rrruh����rr)	rrrr�xrrrr-�r$rr$s@@�rrwrsfs�����A�
�
rzYclass X:
                __class__
                def f():
                    __class__c�8``�\sQs]qsn]*rU1QksQsUsU9s!)rsc�:�RP!rIrrzs�rrrutr{rr)	rrrrr$rrrr-r.s@@rrwrsqs�����I�
�
rr$c�::``�\sQs]ysn]*nU1QksQsUsU9s!)rsc�:�RP!rIrrzs�rrru|r{rrrmr}s@@�rrwrsys�����I�
�
r)rrPrr$�assertIsr|�type�assertRaises�	NameError�exec�globals�	exception�assertNotIn�__dict__)r
rwr|rbr$s&   �r�"test_various___class___pathologies�,TestSuper.test_various___class___pathologies]s���	��	�
�C����������$�������c�*�	�	�	
�
�
�a�c�c�4��:�&�
�
�
�y�
)�
)�Q��!�#*�)�R�
1�*�
	
�
�
�d�1�;�;�'��3�	�	�
	
�����;�/��4��I�k�"�����a�j�j�1�	�	�
	
����B�'�'*�
)�s�$E�E.	�'E.	c�f�QQ2oUOU2O2U2P!)c�4``�\sQs]�snU1QksQsUsU9s!)�2TestSuper.test___class___instancemethod.<locals>.Xc�
:�R!rIrr#s&�rr�4TestSuper.test___class___instancemethod.<locals>.X.f��	��� � rrrmr.s@@rrwr�������
!�
!rrw�r�r�r
rws& r�test___class___instancemethod�'TestSuper.test___class___instancemethod�s$��	!�	!�	
�
�
�a�c�e�e�g�q�!rc�\�QQ2oUOUO2U2P!)c�>``�\sQs]�sn\U1Qk2sQsUsU9s!)�/TestSuper.test___class___classmethod.<locals>.Xc�
:�R!rIrr)s&�rr�1TestSuper.test___class___classmethod.<locals>.X.f��	��� � rr)	rrrrrrrrr-r.s@@rrwr��s����
�
!��
!�
!rrwr�r�s& r�test___class___classmethod�$TestSuper.test___class___classmethod��"��	!�	!�	
�
�
�a�c�c�e�Q�rc�\�QQ2oUOUO2U2P!)c�>``�\sQs]�sn\U1Qk2sQsUsU9s!)�0TestSuper.test___class___staticmethod.<locals>.Xc�
:�R!rIrrzs�rr�2TestSuper.test___class___staticmethod.<locals>.X.f�r�rr�	rrrr�staticmethodrrrr-r.s@@rrwr�������
�
!��
!�
!rrwr�r�s& r�test___class___staticmethod�%TestSuper.test___class___staticmethod�r�rc�n`�PnU1QkQ[2oQQUQ5oUORU2P!)Nc�8:``�\sQs]�snUU1QksQsUsU9s!)�*TestSuper.test___class___new.<locals>.Metac�J:�[RU_VV#2oUO2nU!rI)r"�__new__r)r�name�bases�	namespacer
r$�
test_classs&&&& ��rr��2TestSuper.test___class___new.<locals>.Meta.__new__�s#����w��s�%�C��!�V�V�X�
��rr�rrrrr�rrr-�r$rr�s@@�r�Metar��s����
�
rr�c�>``�\sQs]�sn\U1Qk2sQsUsU9s!)�'TestSuper.test___class___new.<locals>.Ac�
:�R!rIrrzs�rr�)TestSuper.test___class___new.<locals>.A.f�r�rrr�r.s@@rrr��r�rr��	metaclass�r�r��r
r�rr�s&  @r�test___class___new�TestSuper.test___class___new�s2����
�	�4�	�	!�$�	!�
	
�
�
�j�!�$rc��`�PnU1QkQ[2oQQUQ5oUOUP2[QQR2oUOUO2U2P!)Nc�0:`�\sQs]�snU1QksQsUsP!)�.TestSuper.test___class___delayed.<locals>.Metac�:�UnP!rIr)rr�r�r��test_namespaces&&&&�rr��6TestSuper.test___class___delayed.<locals>.Meta.__new__�s���!*��rr)rrrrr�rr)rr�s@�rr�r��s����
�
rr�c�>``�\sQs]�sn\U1Qk2sQsUsU9s!)�+TestSuper.test___class___delayed.<locals>.Ac�
:�R!rIrrzs�rr�-TestSuper.test___class___delayed.<locals>.A.f�r�rrr�r.s@@rrr��r�rrr�rr)r�r�r)r
r�rrr�s&   @r�test___class___delayed� TestSuper.test___class___delayed�sR�����	�4�	�	!�$�	!�
	
�
�
�a�����b�.�)���
�
�a�c�c�e�Q�rc�n`�PnQQ[2oU1QkQUQ5oUORU2P!)Nc�4``�\sQs]�snU1QksQsUsU9s!)�*TestSuper.test___class___mro.<locals>.Metac�R:�UOQ*2[RU_	2!)r)r�r"�mror#s&�rr��.TestSuper.test___class___mro.<locals>.Meta.mro�s����
�
�c�"�$��w�{�}�$rr)rrrrr�rrr-r.s@@rr�r��s����
%�
%rr�c�8:``�\sQs]�snUU1QksQsUsU9s!)�'TestSuper.test___class___mro.<locals>.Ac�:�RnP!rIr)r$r�s��rr�)TestSuper.test___class___mro.<locals>.A.f�s���&�
rrrmr�s@@�rrr��s����
'�
'rrr�r�r�s&  @r�test___class___mro�TestSuper.test___class___mro�s0����
�	%�4�	%�	'�$�	'�
	
�
�
�j�!�$rc�`�U1QkQ[2oPnQQUQ5oUOQR2PnQQUQ5oRQ*oUOOoUO	[U2]2UO
VE]*2UO[29^tt^2UOPPP2P!)%fhP!9h)c�8:``�\sQs]�snUU1QksQsUsU9s!)�=TestSuper.test___classcell___expected_behaviour.<locals>.Metac�F:�UO2n[RU_	VV#2!rI)�copyr"r�)rr�r�r�r$�namespace_snapshots&&&&��rr��ETestSuper.test___classcell___expected_behaviour.<locals>.Meta.__new__�s!���%.�^�^�%5�"��w��s�%�C�Crrr�)r$rr�s@@�rr�r��s����
D�
Drr�c��\sQs]�sQsP!)�HTestSuper.test___classcell___expected_behaviour.<locals>.WithoutClassRefrr@rrr�WithoutClassRefr�����rr�r�r-c�4``�\sQs]�snU1QksQsUsU9s!)�ETestSuper.test___classcell___expected_behaviour.<locals>.WithClassRefc�
:�R!rIrr#s&�rr�GTestSuper.test___classcell___expected_behaviour.<locals>.WithClassRef.f�r�rrrmr.s@@r�WithClassRefr��r�rr�)
r�r�r�__closure__rP�lenr�r��AttributeErrorr-)r
r�r�r��
class_cell�method_closurer�s&     @r�%test___classcell___expected_behaviour�/TestSuper.test___classcell___expected_behaviour�s����	D�4�	D�"��	��	�����*<�=�
"��	!�T�	!�(��8�
�%���3�3������^�,�a�0��
�
�j��"3�4�
�
�
�~�
.�
.��&�&�/�
.�
.�
.�s�2
C	�	C	�C	c���QQ[2oQQUQ5oQoUO[U29^tt^2QQUQ5oPPP2P!)%fhP!9h)c�4``�\sQs]�snU1QksQsUsU9s!)�2TestSuper.test___classcell___missing.<locals>.Metac�J:�UOQP2[RU_	VV#2!�r-)�popr"r�)rr�r�r�r$s&&&&�rr��:TestSuper.test___classcell___missing.<locals>.Meta.__new__�s"����
�
�o�t�4��w��s�%�C�Crrr�r.s@@rr�r�������
D�
Drr�c��\sQs]�sQsP!)�=TestSuper.test___classcell___missing.<locals>.WithoutClassRefrr@rrrr�r��r�rr�r�z+__class__ not set.*__classcell__ propagatedc�4``�\sQsQsnU1QksQsUsU9s!)�:TestSuper.test___classcell___missing.<locals>.WithClassRef�c�
:�R!rIrr#s&�rr�<TestSuper.test___classcell___missing.<locals>.WithClassRef.f�	���$�$rrrmr.s@@rr�r������%�%rr�)r��assertRaisesRegex�RuntimeError)r
r�r��expected_errorr�s&    r�test___classcell___missing�$TestSuper.test___classcell___missing�sS��	D�4�	D�	��	�G��
�
#�
#�L�.�
A�
A�
%��
%�B�
A�
A�
A�s�
A�A%	�A%	c
�J�QQ[2oP]P[21FDXoUOUQ59^tt^2UO[29^tt^2QQVQ5oPPP2PPP2JZ	P!)%fhK9h)%fhJ�9h)c�4``�\sQsQsnU1QksQsUsU9s!)�4TestSuper.test___classcell___overwrite.<locals>.Meta�c�.:�VCQ$[RU_VV#2!r��r"r�)rr�r�r��cellr$s&&&&&�rr��<TestSuper.test___classcell___overwrite.<locals>.Meta.__new__	s���-1�/�*��w��s�%�C�Crrr�r.s@@rr�r	r�rr�)�bad_cellc��\sQsQsQsP!)�1TestSuper.test___classcell___overwrite.<locals>.A�rr@rrrrrs��rr)r�r
)r��object�subTestr��	TypeError)r
r�rrs&   r�test___classcell___overwrite�&TestSuper.test___classcell___overwritesu��	D�4�	D�
�q�"�f�h�/�H����x��0�0��&�&�y�1�1��d��2�1�0�0�1�1��1�0�0�s/�B	�
A>
�(B	�>B�B�	B	�B"
�B"
c��QQ[2oUO[29^tt^2QQUQ5oPPP2P!)%fhP!9h)c�4``�\sQsQsnU1QksQsUsU9s!)�5TestSuper.test___classcell___wrong_cell.<locals>.Meta�c�D:�[RU_VV#2o[QQU2oU!)rr)r"r�r�)rr�r�r�rr$s&&&& �rr��=TestSuper.test___classcell___wrong_cell.<locals>.Meta.__new__s&����g�o�c��B����b�)�,���
rrr�r.s@@rr�rs����
�
rr�c�4``�\sQsQsnU1QksQsUsU9s!)�2TestSuper.test___classcell___wrong_cell.<locals>.A�c�
:�R!rIrr#s&�rr�4TestSuper.test___classcell___wrong_cell.<locals>.A.frrrrmr.s@@rrrrrrr�)r�r�r)r
r�rs&  r�test___classcell___wrong_cell�'TestSuper.test___classcell___wrong_cells<��	�4�	��
�
�y�
)�
)�
%�d�
%�*�
)�
)�
)�s�
A�A	�A	c�:�U1QkoUO[Q29^tt^2U2PPP2QQ2oUO[Q29^tt^2UO2PPP2U1QkoUO[Q29^tt^2UP2PPP2QQ2oUO[Q29^tt^2U2O2PPP2P!)%fhK�9h)%fhK�9h)%fhK~9h)%fhP!9h)	c�:�[2P!rI�r"rzs�rr�.TestSuper.test_obscure_super_errors.<locals>.f"s����Grzno argumentsc�4``�\sQsQsnU1QksQsUsU9s!)�.TestSuper.test_obscure_super_errors.<locals>.C�'c�:�[2P!rIr'rzs�rr�0TestSuper.test_obscure_super_errors.<locals>.C.f(�����rrrmr.s@@rr1r*'�����
�
rr1c� :�=[2P!rIr'�r|r$s&�rrr(-s�����Grzarg\[0\] deletedc�4``�\sQsQsnU1QksQsUsU9s!)�.TestSuper.test_obscure_super_errors.<locals>.X�3c� :�<[2P!rIr'r1s&�rr�0TestSuper.test_obscure_super_errors.<locals>.X.f4s�����rrrmr.s@@rrwr33s����
�
rrwzempty __class__ cell)rrr)r
rr1rwr$s&   �r�test_obscure_super_errors�#TestSuper.test_obscure_super_errors!s����	�
�
#�
#�L�/�
B�
B�
�C�C�	�	��
#�
#�L�/�
B�
B�
�C�C�E�C�	��
#�
#�L�2E�
F�
F�
�d�G�G�	�	�
�
#�
#�L�2I�
J�
J�
�C�E�E�G�K�
J�)C�
B��C�
B��G�
F��K�
J�
J�sG�C5�D�	D�D.�5D	�>D	�D	�D	�D+	�$D+	�.D?	�7D?	c�`�QQ2nU1QkoU2O]*oUO[ROU2P!)c�4``�\sQsQsnU1QksQsUsU9s!)�&TestSuper.test_cell_as_self.<locals>.X�<c�:�[2P!rIr'r#s&�r�meth�+TestSuper.test_cell_as_self.<locals>.X.meth=r.rr)rrrrr>rrr-r.s@@rrwr;<r/rrwc�&:`�R2nU1QkoU!)c�
:�R!rIr)�ks�r�g�1TestSuper.test_cell_as_self.<locals>.f.<locals>.gBs����rr)rCrBrws @�rr�&TestSuper.test_cell_as_self.<locals>.f@s�����A�
��Hr)r�r�rr>)r
r�crws&  @r�test_cell_as_self�TestSuper.test_cell_as_self;s:���	�	�	�

�C�O�O�A������)�Q�V�V�Q�/rc�:�[[Q2o[Q2FDo[OU[U2J 	P!)g�?��)r"�float�range�__init__�int)r
�sp�ir$s&  �r�test_super_init_leaks�TestSuper.test_super_init_leaksHs/���
�5�#�
���t��A��N�N�2�s�A�&�rc�:�UO[Q29^tt^2[[[[2PPP2P!)%fhP!9h)zexpected at most�rrr"rNr#s&�r�test_super_argcount�TestSuper.test_super_argcountQs3���
�
#�
#�I�/A�
B�
B��#�s�C� �C�
B�
B�
B�s�A�A	�A	c�:�UO[Q29^tt^2[][2PPP2P!)%fhP!9h)�argument 1 must be a typerTr#s&�r�test_super_argtype�TestSuper.test_super_argtypeUs0���
�
#�
#�I�/J�
K�
K��!�S�M�L�
K�
K�
K�s�<�A
	�A
	c�<�[OQ2o[OQUQ59^tt^2]PHoPPP2UOWO
2O2Q2[OQ2P!)%fhKV9h)z�
            class super:
                msg = "truly super"

            class C:
                def method(self):
                    return super().msg
            �shadowed_super)r��sourceztruly super)	�textwrap�dedentr�ready_to_importr\rPr1�method�unload)r
r]r\s&  r�test_shadowed_global�TestSuper.test_shadowed_globalYso�����
�	
���
*�
*�0@��
P�
P�!�Q�����)�)�+�2�2�4�m�D����-�.�Q�
P�s�B�B	�B	c�`�QQ2nU1QkQ2oUOU2O2Q2P!)c��\sQsQsQsQsP!)�,TestSuper.test_shadowed_local.<locals>.super�j�quite superr�rrrr�msgrrrrr"rgj����Crr"c�8:``�\sQsQsnUU1QksQsUsU9s!)�(TestSuper.test_shadowed_local.<locals>.C�mc�(:�R2O!rI)rk)r
r$r"s&��rra�/TestSuper.test_shadowed_local.<locals>.C.methodns����w�{�{�"rr�rrrrrarrr-)r$rr"s@@�rr1rnms����
#�
#rr1ri)rPra)r
r1r"s& @r�test_shadowed_local�TestSuper.test_shadowed_localis1���	 �	 �	#�	#�	
��������}�5rc���QQ2oQQ2o[[Q0U29^tt^2oUOU2O2Q2PPP2P!)%fhP!9h)c��\sQsQsQsQsP!)�0TestSuper.test_shadowed_dynamic.<locals>.MySuper�t�super superrrjrrr�MySuperrwtrlrrzc�4``�\sQsQsnU1QksQsUsU9s!)�*TestSuper.test_shadowed_dynamic.<locals>.C�wc�:�[RU_!rI�r"rkr#s&�rra�1TestSuper.test_shadowed_dynamic.<locals>.C.methodx�
����w�{�"rrrrr.s@@rr1r|w�����
#�
#rr1�.superry�rrrPra)r
rzr1�ms&   r�test_shadowed_dynamic�TestSuper.test_shadowed_dynamicssU��	 �	 �	#�	#��h�Z�v�&��
0�
0�A����Q�S�Z�Z�\�=�9�1�
0�
0�
0�s�&A!�!A2	�*A2	c�`�,nU1QkQ2oQQ2o[[Q0U29^tt^2oUOU2O2Q2UORQ,2PPP2P!)%fhP!9h)c�4:`�\sQsQsnU1QksQsQsUsP!)�8TestSuper.test_shadowed_dynamic_two_arg.<locals>.MySuper�c�,:�ROU2P!rI)�append)r
�args�	call_argss&*�rrM�ATestSuper.test_shadowed_dynamic_two_arg.<locals>.MySuper.__init__�s���� � ��&rryr)rrrrrMrkrr)rr�s@�rrzr��s����
'��Crrzc�4``�\sQsQsnU1QksQsUsU9s!)�2TestSuper.test_shadowed_dynamic_two_arg.<locals>.C�c�:�[]]_!��rr#s&�rra�9TestSuper.test_shadowed_dynamic_two_arg.<locals>.C.method�s����Q���&rrrrr.s@@rr1r��s����
'�
'rr1r�ry)r��r�)r
rzr1r�r�s&   @r�test_shadowed_dynamic_two_arg�'TestSuper.test_shadowed_dynamic_two_arg~sm����	�	 �	 �
	'�	'��h�Z�v�&��
0�
0�A����Q�S�Z�Z�\�=�9����Y���1�1�
0�
0�
0�s�9A:�:B	�B	c��QQ2oUO[Q29^tt^2U2O2PPP2P!)%fhP!9h)c�4``�\sQsQsnU1QksQsUsU9s!)�)TestSuper.test_attribute_error.<locals>.C�c�:�[RU_!rIrr#s&�rra�0TestSuper.test_attribute_error.<locals>.C.method�r�rrrrr.s@@rr1r��r�rr1z%'super' object has no attribute 'msg')rr�ra�r
r1s& r�test_attribute_error�TestSuper.test_attribute_error�s=��	#�	#��
#�
#�N�4[�
\�
\�
�C�J�J�L�]�
\�
\�
\���A
�
A	�A	c��QQ2oUO[Q29^tt^2U2O2PPP2P!)%fhP!9h)c�4``�\sQsQsnU1QksQsUsU9s!)�'TestSuper.test_bad_first_arg.<locals>.C�c�":�[]U_2!r��r"rar#s&�rra�.TestSuper.test_bad_first_arg.<locals>.C.method�s����Q��,�.�.rrrrr.s@@rr1r��s����
/�
/rr1rX)rrrar�s& r�test_bad_first_arg�TestSuper.test_bad_first_arg�s=��	/�	/��
#�
#�I�/J�
K�
K�
�C�J�J�L�L�
K�
K�
K�r�c�N�QQ2oU2oQo[U[OUOQ1U[2UO[OQ1U[UO[OQ11oSFDvoUOUQ59^tt^2Uvqgq�o
UO	V�U2oUO[U29^tt^2UOVg2PPP2PPP2Jx	P!)%fhK9h)%fhJ�9h)c�4``�\sQsQsnU1QksQsUsU9s!)�)TestSuper.test_supercheck_fail.<locals>.C�c� :�[V_2!rIr�)r
�type_�objr$s&&&�rra�0TestSuper.test_supercheck_fail.<locals>.C.method�s����U�/�1�1rrrrr.s@@rr1r��s����
2�
2rr1zOsuper\(type, obj\): obj \({} {}\) is not an instance or subtype of type \({}\).zinstance ofr�)�case)rNr�listr�formatrrra)r
r1rF�err_msg�casesr�r�r��type_str�obj_str�instance_or_type�regexs&           r�test_supercheck_fail�TestSuper.test_supercheck_fail�s���	2�	2�
�C��
6�	��!�S�\�\�1�:�:�}�=�
����
�
�D�M�M�=�A�
��a�j�j�$�-�-��8�
���D����4��(�(�BF�?��H�/?����'7�(�K���+�+�I�u�=�=��H�H�U�(�>�	)�(��
>�=��	)�(�(�s0�!7D	�D
�*D	�D�	D�D	�D$
�D$
c�p:�QQ2oUOU2O2[2P!)c�4``�\sQsQsnU1QksQsUsU9s!)�)TestSuper.test_super___class__.<locals>.C�c�.:�[2O!rI)r"r$r#s&�rra�0TestSuper.test_super___class__.<locals>.C.method�s����w�(�(�(rrrrr.s@@rr1r��s����
)�
)rr1)rPrar")r
r1r$s& �r�test_super___class__�TestSuper.test_super___class__�s'���	)�	)�	
��������u�-rc�:``�QQ[2nUU1QkQ2nUOR2O2R2P!)c��\sQsQsQsP!)�8TestSuper.test_super_subclass___class__.<locals>.mysuper�rr@rrr�mysuperr��r�rr�c�2:`�\sQsQsnUU1QksQsUsP!)�2TestSuper.test_super_subclass___class__.<locals>.C��c�,:�RRU2O!rIrz)r
r1r�s&��rra�9TestSuper.test_super_subclass___class__.<locals>.C.method�s����q�$�'�1�1�1rr)rrrrrarr)rr1r�s@��rr1r��s����
2�
2rr1)r"rPra)r
r1r�r$s&@@�r�test_super_subclass___class__�'TestSuper.test_super_subclass___class__�s3���	�e�	�	2�	2�	
��������w�/rc�:``�QQ[2nUUU1Qko[OQ2o[UO2FDoUQ2J
	P!)c��\sQsQsQsP!)�/TestSuper.test_unusual_getattro.<locals>.MyType��rr@rrr�MyTyper��r�rr�c�:�RUR1-2o[R[U2_UQ]2ROUO]2P!)�bar)r"r��__setattr__rPr�)r��mytyper�r$r
s& ���r�test�-TestSuper.test_unusual_getattro.<locals>.test�s>����D�6�)�R�0�F��&�$�v�,�3�F�E�1�E����V�Z�Z��+r�_testinternalcapi�foo1)r�r�
import_modulerL�SPECIALIZATION_THRESHOLD)r
r�r��_r�r$sf   @�r�test_unusual_getattro�TestSuper.test_unusual_getattro�sF���	�T�	�	,�
*�7�7�8K�L���(�A�A�B�A���L�Crc��QQ2oQQU2oQQU2o[OQ2o[UO2FD
oU2J	P!)c�.`�\sQsQsnQsQsQsUsP!)�(TestSuper.test_reassigned_new.<locals>.A��c��P!rIrrs&rr��0TestSuper.test_reassigned_new.<locals>.A.__new__�s��rc�P�QUO7cUOUmP!P!)r�)r�r�rs&r�__init_subclass__�:TestSuper.test_reassigned_new.<locals>.A.__init_subclass__�s���C�L�L�0�"%�+�+�C�K�1rr)rrrrr�r�rrrs@rrr��s����
�
.�
.rrc��\sQsQsQsP!)�(TestSuper.test_reassigned_new.<locals>.B��rr@rrrrr��r�rrc�4``�\sQsQsnU1QksQsUsU9s!)�(TestSuper.test_reassigned_new.<locals>.C��c�$:�[RU_U2!rIrr)s&�rr��0TestSuper.test_reassigned_new.<locals>.C.__new__�s����w��s�+�+rrr�r.s@@rr1r��s����
,�
,rr1r�)rr�rLr��r
rrr1r�r�s&     r�test_reassigned_new�TestSuper.test_reassigned_new�sT��	.�	.�	��	�	,��	,�*�7�7�8K�L���(�A�A�B�A�
�C�Crc��`�U1QkQ2oQQU2oQQU2o[OQ2o[UO2FDoUO	U2J	P!)c�::`�\sQsQsn\U1Qk2sQsUsP!)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.A��c�N:�ROU2ROU2P!rI)�assertFalse)rr��kwargsr
s&*,�r�some�;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.A.some�s���� � ��&�� � ��(rr)rrrrr�rrr)rr
s@�rrr��s����
�
)��
)rrc�4``�\sQsQsnU1QksQsUsU9s!)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.B��c�0:�[RU_U,UN3-U@!rI�r"r)rr�rr$s&*,�rr�;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.B.some�s����w�|�C�9�$�9�&�9�9rr)rrrrrrrr-r.s@@rrr�s����
:�
:rrc�>``�\sQsQsn\U1Qk2sQsUsU9s!)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.C�c�$:�[RU_U2!rIrr)s&�rr�;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.C.some�s����w�|�C�(�(rr)	rrrrr�rrrr-r.s@@rr1r�s����
�
)��
)�
)rr1r�)rr�rLr�rr�sf     r�!test_mixed_staticmethod_hierarchy�+TestSuper.test_mixed_staticmethod_hierarchy�s[���	)�	)�	:��	:�	)��	)�
*�7�7�8K�L���(�A�A�B�A�
�F�F�1�I�Crc�"```�QQ2nQQ2nR2nUUU1Qko,o[]2FD;o[OUQ5oUO2UO	U2J=	SFDoUO2J	P!)z�Note: this test isn't actually testing anything on its own.
It requires a sys audithook to be set to crash on older Python.
This should be the case anyways as our test suite sets
an audit hook.
c��\sQsQsQsP!)�@TestSuper.test___class___modification_multithreaded.<locals>.Foo�rr@rrr�Foorr�rrc��\sQsQsQsP!)�@TestSuper.test___class___modification_multithreaded.<locals>.Bar�
rr@rrr�Barr
r�rrc�|:�Ro[]�2FD'oRUm[U2RUm[U2J)	P!)��)rLr$r�)�foor�rr�things  ���r�work�ATestSuper.test___class___modification_multithreaded.<locals>.works2����C��3�Z�� #��
��S�	� #��
��S�	�	 r)�target)rL�	threading�Thread�startr��join)r
r�threadsr��threadrrrs&    @@@r�)test___class___modification_multithreaded�3TestSuper.test___class___modification_multithreaded�st���	�	�	�	����	����q��A��%�%�T�2�F��L�L�N��N�N�6�"��
�F��K�K�M�rc��:�[2[1FD�o[[U2oUOUOUO2UOUO
UO
2UOUOUO2UOUQ2UOUQ2UOUQ2UOUQ2UOUQ2J�	P!)�__getnewargs__�__getnewargs_ex__�__setstate__�__copy__�__deepcopy__)r?r"r1rP�
__reduce__�
__reduce_ex__�__getstate__�assertNotHasAttr)r
rb�sr$s&  �r�test_special_methods�TestSuper.test_special_methods s������a��A��a���A����Q�\�\�1�<�<�8����Q�_�_�a�o�o�>����Q�^�^�Q�^�^�<��!�!�!�%5�6��!�!�!�%8�9��!�!�!�^�4��!�!�!�Z�0��!�!�!�^�4�rc
�:�[2o]Um[[U2o[	[
O]*2FCD2oUOUQ59^tt^2[
O[
OV#22oUOUO2UO22UO[U2[U22UO[UO2[2UOUOO]2UOUO[2UOUO [2PPP2CJ5	[[[2o[	[
O]*2FCD)oUOUQ59^tt^2[
O[
OV#22oUOUO#2UO#22UOUOUO2UO[U2[U22UOUO[2UOUO[2UOUO [2PPP2CJ,	P!)%fhCJ�9h)%fhCJW9h)r�)�proto)r?r|r"r1rL�pickle�HIGHEST_PROTOCOLr�loads�dumpsrPrr�r��__self__�
__thisclass__�__self_class__r)r
rbr3r7�ur$s&    �r�
test_pickling�TestSuper.test_pickling,s����
�C������!�Q�K���6�2�2�Q�6�7�7�E����E��*�*��L�L����a�!7�8��� � ���������.��
�
�d�1�g�t�A�w�/��
�
�d�1�:�:�.��2�� � ������q�1��
�
�a�o�o�q�1��
�
�a�.�.��2�+�*�8�
�!�Q�K���6�2�2�Q�6�7�7�E����E��*�*��L�L����a�!7�8��� � ���������0�� � ����a�c�c�*��
�
�d�1�g�t�A�w�/��
�
�a�j�j�!�,��
�
�a�o�o�q�1��
�
�a�.�.��2�+�*�8�+�*�*��+�*�*�s&�#DK!	�DK6	�!K3
�*K3
�6L
�?L
c�:�[[[22oUO[OU2U2[[[2oUO[OU2U2P!rI)r"r1r?r�r�)r
r3r$s& �r�test_shallow_copying�TestSuper.test_shallow_copyingEsG����!�Q�S�M���
�
�d�i�i��l�A�&��!�Q�K���
�
�d�i�i��l�A�&rc�:�[2o],Um[[U2o[O
U2oUO
UO2UO22UO[U2[U22UOV22UO[UO2[2UOUOU2UOUOOUO2UO
UOO],2UOUO[2UOUO[2[[[2o[O
U2oUO
UO2UO22UO
UOUO2UOV22UO[U2[U22UOUO[2UOUO[2UOUO[2P!r�)r?r|r"r1r��deepcopyrPrr�r��assertIsNotr<r=r>r)r
rbr3r?r$s&   �r�test_deep_copying�TestSuper.test_deep_copyingKs����
�C���c����!�Q�K���M�M�!��������������&��
�
�d�1�g�t�A�w�'�������
�
�d�1�:�:�&��*�������Q�'���������q�s�s�+����������s�+��
�
�a�o�o�q�)��
�
�a�&�&��*��!�Q�K���M�M�!��������������(�������a�c�c�"�������
�
�d�1�g�t�A�w�'��
�
�a�j�j�!�$��
�
�a�o�o�q�)��
�
�a�&�&��*rr)2rrrrrJrQrTrWr[r^rcror�r�r�r�r�r�r�r�rrr#r7rGrQrUrYrcrsr�r�r�r�r�r�r�r�r�rr�requires_working_threadingr'r4r@rCrHrrr-r.s@@rrGrG1s������
*�+�+�+�-�I�	(�!(�F"� � �%�& �(%�"'�>%�.�%��40�'�!��/� 6�	:�
2���)�6.�0���(�*�0�0�2��3��@
5�3�2'�+�+rrG�__main__)�__doc__r�r8r^r!�unittest�
unittest.mockr�test.supportrrrrr1r8r?rCrE�TestCaserGr�mainrrr�<module>rRs���?��
�����8���(��(�(��(�(��1�(�	��	����	��	�q+��!�!�q+�h�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit