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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/test_super.cpython-315.opt-2.pyc
R
>lqjLc�D�]PHs]PHs]PHs]PHs]PHs]QHGs]QHGsG	s	QQ2s
QQ\
2sQQ\
2sQ	Q
\\2s
QQ\
2sQ
Q\2sQQ\
2sQQ\O"2s\Q6Xc\O(2P!P!)�)�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@rrrs��������rrc�J``�\sQs]snU1Qks\U1Qk2sQsUsU9s	!)�Bc�0:�[RU_2Q*!�r��superr
�r�	__class__s&�rr
�B.f�����w�y�{�S� � rc�(:�U[RU_2Q1!r!�r#r�rr%s&�rr�B.cm�����U�W�Z�\�3�'�'rr	�
rrrrr
rrrr�
__classcell__�r%rs@@rrr�!����!��(��(�(rrc�J``�\sQs]snU1Qks\U1Qk2sQsUsU9s	!)�Cc�0:�[RU_2Q*!�r2r"r$s&�rr
�C.fr'rc�(:�U[RU_2Q1!r4r)r*s&�rr�C.cmr,rr	r-r/s@@rr2r2r0rr2c�@``�\sQs]!snU1QksU1QksQsUsU9s!)�Dc�0:�[RU_2Q*!�r9r"r$s&�rr
�D.f"r'rc�(:�U[RU_2Q1!r;r)r*s&�rr�D.cm$s����U�W�Z�\�3�'�'rr	)	rrrrr
rrrr.r/s@@rr9r9!s����!�(�(rr9c��\sQs]'sQsP!)�Er	�rrrrrr	rrr@r@'���rr@c�0�\sQs]*s\O
sQsP!)�Fr	)rrrrr@r
rr	rrrDrD*s��	���ArrDc��\sQs]-sQsP!)�Gr	rAr	rrrFrF-rBrrFc�``�\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)rHr$s&�r�tearDown�TestSuper.tearDown3s
����	rc�X�UO[2O2Q2P!��ABCD��assertEqualr9r
r
s&r�test_basics_working�TestSuper.test_basics_working8s����������&�)rc�b�UO[O[22Q2P!rNrPr
s&r�test_class_getattr_working�$TestSuper.test_class_getattr_working;s��������Q�S��6�*rc��UO[2O2Q2UO[O[22Q2P!rN)rQr@r
r
s&r�!test_subclass_no_override_working�+TestSuper.test_subclass_no_override_working>�4����������&�)�������Q�S��6�*rc��UO[2O2Q2UO[O[22Q2P!rN)rQrDr
r
s&r�$test_unbound_method_transfer_working�.TestSuper.test_unbound_method_transfer_workingBrZrc�h�UO[O2[Q12UO[2O2[Q12UO[O2[Q12UO[2O2[Q12P!r)rQrrrFr
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!)rrr2r9)r9rQrr@)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!rJr	r
s�r�nested�>TestSuper.test_super_with_closure.<locals>.E.f.<locals>.nestedWs���rr@r")rrkr%sf �rr
�.TestSuper.test_super_with_closure.<locals>.E.fVs�����w�y�{�S�(�(rr	�rrrrr
rrr.r/s@@rr@rhUs����
)�
)rr@�AE)rrQr
)rr@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!rJr"r$s&�rr
�9TestSuper.test_various___class___pathologies.<locals>.X.f`s����w�y�{�"r�r	)	rrrrr
r%rrr.r/s@@r�Xrt_s����
#��I�Irrxrrwc�<:``�\sQs]fsnYsU1QksQsUsU9s!)rtc�:�RP!rJr	�r%s�rr
rvh����rr	)	rrrr�xr
rrr.�r%rr%s@@�rrxrtfs�����A�
�
rzYclass X:
                __class__
                def f():
                    __class__c�8``�\sQs]qsn]*rU1QksQsUsU9s!)rtc�:�RP!rJr	r{s�rr
rvtr|rr	)	rrrrr%r
rrr.r/s@@rrxrtqs�����I�
�
rr%c�::``�\sQs]ysn]*nU1QksQsUsU9s!)rtc�:�RP!rJr	r{s�rr
rv|r|rr	rnr~s@@�rrxrtys�����I�
�
r)rrQr
r%�assertIsr}�type�assertRaises�	NameError�exec�globals�	exception�assertNotIn�__dict__)rrxr}rcr%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!rJr	r$s&�rr
�4TestSuper.test___class___instancemethod.<locals>.X.f��	��� � rr	rnr/s@@rrxr�������
!�
!rrx�r�r
�rrxs& 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!rJr	r*s&�rr
�1TestSuper.test___class___classmethod.<locals>.X.f��	��� � rr	)	rrrrrr
rrr.r/s@@rrxr��s����
�
!��
!�
!rrxr�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!rJr	r{s�rr
�2TestSuper.test___class___staticmethod.<locals>.X.f�r�rr	�	rrrr�staticmethodr
rrr.r/s@@rrxr�������
�
!��
!�
!rrxr�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!rJ)r#�__new__r
)r�name�bases�	namespacerr%�
test_classs&&&& ��rr��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!rJr	r{s�rr
�)TestSuper.test___class___new.<locals>.A.f�r�rr	r�r/s@@rrr��r�rr��	metaclass�r�r��rr�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!rJr	)rr�r�r��test_namespaces&&&&�rr��6TestSuper.test___class___delayed.<locals>.Meta.__new__�s���!*��rr	)rrrrr�rr)rr�s@�rr�r��s����
�
rr�c�>``�\sQs]�sn\U1Qk2sQsUsU9s!)�+TestSuper.test___class___delayed.<locals>.Ac�
:�R!rJr	r{s�rr
�-TestSuper.test___class___delayed.<locals>.A.f�r�rr	r�r/s@@rrr��r�rrr�rr	)r�r�r
)rr�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&�rr��.TestSuper.test___class___mro.<locals>.Meta.mro�s����
�
�c�"�$��w�{�}�$rr	)rrrrr�rrr.r/s@@rr�r��s����
%�
%rr�c�8:``�\sQs]�snUU1QksQsUsU9s!)�'TestSuper.test___class___mro.<locals>.Ac�:�RnP!rJr	)r%r�s��rr
�)TestSuper.test___class___mro.<locals>.A.f�s���&�
rr	rnr�s@@�rrr��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!rJ)�copyr#r�)rr�r�r�r%�namespace_snapshots&&&&��rr��ETestSuper.test___classcell___expected_behaviour.<locals>.Meta.__new__�s!���%.�^�^�%5�"��w��s�%�C�Crr	r�)r%rr�s@@�rr�r��s����
D�
Drr�c��\sQs]�sQsP!)�HTestSuper.test___classcell___expected_behaviour.<locals>.WithoutClassRefr	rAr	rr�WithoutClassRefr�����rr�r�r.c�4``�\sQs]�snU1QksQsUsU9s!)�ETestSuper.test___classcell___expected_behaviour.<locals>.WithClassRefc�
:�R!rJr	r$s&�rr
�GTestSuper.test___classcell___expected_behaviour.<locals>.WithClassRef.f�r�rr	rnr/s@@r�WithClassRefr��r�rr�)
r�r�r
�__closure__rQ�lenr�r��AttributeErrorr.)rr�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&&&&�rr��:TestSuper.test___classcell___missing.<locals>.Meta.__new__�s"����
�
�o�t�4��w��s�%�C�Crr	r�r/s@@rr�r�������
D�
Drr�c��\sQs]�sQsP!)�=TestSuper.test___classcell___missing.<locals>.WithoutClassRefr	rAr	rrr�r��r�rr�r�z+__class__ not set.*__classcell__ propagatedc�4``�\sQsQsnU1QksQsUsU9s!)�:TestSuper.test___classcell___missing.<locals>.WithClassRef�c�
:�R!rJr	r$s&�rr
�<TestSuper.test___classcell___missing.<locals>.WithClassRef.f�	���$�$rr	rnr/s@@rr�r������%�%rr�)r��assertRaisesRegex�RuntimeError)rr�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&&&&&�rr��<TestSuper.test___classcell___overwrite.<locals>.Meta.__new__	s���-1�/�*��w��s�%�C�Crr	r�r/s@@rr�r
r�rr�)�bad_cellc��\sQsQsQsP!)�1TestSuper.test___classcell___overwrite.<locals>.A�r	rAr	rrrrs��rr)r�r)r��object�subTestr��	TypeError)rr�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&&&& �rr��=TestSuper.test___classcell___wrong_cell.<locals>.Meta.__new__s&����g�o�c��B����b�)�,���
rr	r�r/s@@rr�rs����
�
rr�c�4``�\sQsQsnU1QksQsUsU9s!)�2TestSuper.test___classcell___wrong_cell.<locals>.A�c�
:�R!rJr	r$s&�rr
�4TestSuper.test___classcell___wrong_cell.<locals>.A.frrr	rnr/s@@rrr rrrr�)r�r�r)rr�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!rJ�r#r{s�rr
�.TestSuper.test_obscure_super_errors.<locals>.f"s����Grzno argumentsc�4``�\sQsQsnU1QksQsUsU9s!)�.TestSuper.test_obscure_super_errors.<locals>.C�'c�:�[2P!rJr(r{s�rr
�0TestSuper.test_obscure_super_errors.<locals>.C.f(�����rr	rnr/s@@rr2r+'�����
�
rr2c� :�=[2P!rJr(�r}r%s&�rr
r)-s�����Grzarg\[0\] deletedc�4``�\sQsQsnU1QksQsUsU9s!)�.TestSuper.test_obscure_super_errors.<locals>.X�3c� :�<[2P!rJr(r2s&�rr
�0TestSuper.test_obscure_super_errors.<locals>.X.f4s�����rr	rnr/s@@rrxr43s����
�
rrxzempty __class__ cell)rrr
)rr
r2rxr%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!rJr(r$s&�r�meth�+TestSuper.test_cell_as_self.<locals>.X.meth=r/rr	)rrrrr?rrr.r/s@@rrxr<<r0rrxc�&:`�R2nU1QkoU!)c�
:�R!rJr	)�ks�r�g�1TestSuper.test_cell_as_self.<locals>.f.<locals>.gBs����rr	)rDrCrxs @�rr
�&TestSuper.test_cell_as_self.<locals>.f@s�����A�
��Hr)r�r�rr?)rr
�crxs&  @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#rOr$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 typerUr$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]rQr2�method�unload)rr^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�msgrr	rrr#rhj����Crr#c�8:``�\sQsQsnUU1QksQsUsU9s!)�(TestSuper.test_shadowed_local.<locals>.C�mc�(:�R2O!rJ)rl)rr%r#s&��rrb�/TestSuper.test_shadowed_local.<locals>.C.methodns����w�{�{�"rr	�rrrrrbrrr.)r%rr#s@@�rr2roms����
#�
#rr2rj)rQrb)rr2r#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 superr	rkr	rr�MySuperrxtrmrr{c�4``�\sQsQsnU1QksQsUsU9s!)�*TestSuper.test_shadowed_dynamic.<locals>.C�wc�:�[RU_!rJ�r#rlr$s&�rrb�1TestSuper.test_shadowed_dynamic.<locals>.C.methodx�
����w�{�"rr	rsr/s@@rr2r}w�����
#�
#rr2�.superrz�rrrQrb)rr{r2�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!rJ)�append)r�args�	call_argss&*�rrN�ATestSuper.test_shadowed_dynamic_two_arg.<locals>.MySuper.__init__�s���� � ��&rrzr	)rrrrrNrlrr)rr�s@�rr{r��s����
'��Crr{c�4``�\sQsQsnU1QksQsUsU9s!)�2TestSuper.test_shadowed_dynamic_two_arg.<locals>.C�c�:�[]]_!��r�r$s&�rrb�9TestSuper.test_shadowed_dynamic_two_arg.<locals>.C.method�s����Q���&rr	rsr/s@@rr2r��s����
'�
'rr2r�rz)r��r�)rr{r2r�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_!rJr�r$s&�rrb�0TestSuper.test_attribute_error.<locals>.C.method�r�rr	rsr/s@@rr2r��r�rr2z%'super' object has no attribute 'msg')rr�rb�rr2s& 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#rbr$s&�rrb�.TestSuper.test_bad_first_arg.<locals>.C.method�s����Q��,�.�.rr	rsr/s@@rr2r��s����
/�
/rr2rY)rrrbr�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!rJr�)r�type_�objr%s&&&�rrb�0TestSuper.test_supercheck_fail.<locals>.C.method�s����U�/�1�1rr	rsr/s@@rr2r��s����
2�
2rr2zOsuper\(type, obj\): obj \({} {}\) is not an instance or subtype of type \({}\).zinstance ofr�)�case)rOr�listr�formatrrrb)rr2rG�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!rJ)r#r%r$s&�rrb�0TestSuper.test_super___class__.<locals>.C.method�s����w�(�(�(rr	rsr/s@@rr2r��s����
)�
)rr2)rQrbr#)rr2r%s& �r�test_super___class__�TestSuper.test_super___class__�s'���	)�	)�	
��������u�-rc�:``�QQ[2nUU1QkQ2nUOR2O2R2P!)c��\sQsQsQsP!)�8TestSuper.test_super_subclass___class__.<locals>.mysuper�r	rAr	rr�mysuperr��r�rr�c�2:`�\sQsQsnUU1QksQsUsP!)�2TestSuper.test_super_subclass___class__.<locals>.C��c�,:�RRU2O!rJr{)rr2r�s&��rrb�9TestSuper.test_super_subclass___class__.<locals>.C.method�s����q�$�'�1�1�1rr	)rrrrrbrr)rr2r�s@��rr2r��s����
2�
2rr2)r#rQrb)rr2r�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��r	rAr	rr�MyTyper��r�rr�c�:�RUR1-2o[R[U2_UQ]2ROUO]2P!)�bar)r#r��__setattr__rQr�)r��mytyper�r%rs& ���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_modulerM�SPECIALIZATION_THRESHOLD)rr�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!rJr	rs&rr��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@rrr��s����
�
.�
.rrc��\sQsQsQsP!)�(TestSuper.test_reassigned_new.<locals>.B��r	rAr	rrrr��r�rrc�4``�\sQsQsnU1QksQsUsU9s!)�(TestSuper.test_reassigned_new.<locals>.C��c�$:�[RU_U2!rJr
r*s&�rr��0TestSuper.test_reassigned_new.<locals>.C.__new__�s����w��s�+�+rr	r�r/s@@rr2r��s����
,�
,rr2r�)rr�rMr��rrrr2r�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!rJ)�assertFalse)rr��kwargsrs&*,�r�some�;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.A.some�s���� � ��&�� � ��(rr	)rrrrr�rrr)rrs@�rrr��s����
�
)��
)rrc�4``�\sQsQsnU1QksQsUsU9s!)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.B��c�0:�[RU_U,UN3-U@!rJ�r#r)rr�rr%s&*,�rr�;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.B.some�s����w�|�C�9�$�9�&�9�9rr	)rrrrrrrr.r/s@@rrr�s����
:�
:rrc�>``�\sQsQsn\U1Qk2sQsUsU9s!)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.C�c�$:�[RU_U2!rJr	r*s&�rr�;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.C.some�s����w�|�C�(�(rr	)	rrrrr�rrrr.r/s@@rr2r�s����
�
)��
)�
)rr2r�)rr�rMr�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!)c��\sQsQsQsP!)�@TestSuper.test___class___modification_multithreaded.<locals>.Foo�r	rAr	rr�Foorr�rrc��\sQsQsQsP!)�@TestSuper.test___class___modification_multithreaded.<locals>.Bar�
r	rAr	rr�Barr
r�rrc�|:�Ro[]�2FD'oRUm[U2RUm[U2J)	P!)��)rMr%r�)�foor�rr�things  ���r�work�ATestSuper.test___class___modification_multithreaded.<locals>.works2����C��3�Z�� #��
��S�	� #��
��S�	�	 r)�target)rM�	threading�Thread�startr��join)rr�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#r2rQ�
__reduce__�
__reduce_ex__�__getstate__�assertNotHasAttr)rrc�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#r2rM�pickle�HIGHEST_PROTOCOLr�loads�dumpsrQr
r�r��__self__�
__thisclass__�__self_class__r)rrcr4r8�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!rJ)r#r2r@r�r�)rr4r%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#r2r��deepcopyrQr
r�r��assertIsNotr=r>r?r)rrcr4r@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	)2rrrrrKrRrUrXr\r_rdrpr�r�r�r�r�r�r�r�rrr$r8rHrRrVrZrdrtr�r�r�r�r�r�r�r�r�rr�requires_working_threadingr(r5rArDrIrrr.r/s@@rrHrH1s������
*�+�+�+�-�I�	(�!(�F"� � �%�& �(%�"'�>%�.�%��40�'�!��/� 6�	:�
2���)�6.�0���(�*�0�0�2��3��@
5�3�2'�+�+rrH�__main__)r�r9r_r"�unittest�
unittest.mockr�test.supportrrrrr2r9r@rDrF�TestCaserHr�mainr	rr�<module>rRs����
�����8���(��(�(��(�(��1�(�	��	����	��	�q+��!�!�q+�h�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit