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_super.cpython-312.opt-2.pyc

�

'Μg&;��0�	ddlZddlZddlZddlmZddlmZmZdZGd�d�Z	Gd�de	�Z
Gd	�d
e	�ZGd�dee
�ZGd
�de�Z
Gd�de
�ZGd�de	�ZGd�dej �Zedk(rej&�yy)�N)�patch)�
import_helper�threading_helper�c�"�eZdZd�Zed��Zy)�Ac��y�Nr���selfs �,/usr/local/lib/python3.12/test/test_super.py�fzA.fs���c�
�|dfSr
r��clss r�cmzA.cms���S�z�rN)�__name__�
__module__�__qualname__r�classmethodrrrrrr
s������rrc�2��eZdZ�fd�Ze�fd��Z�xZS)�Bc�&��t�|��dzS�Nr��superr�r
�	__class__s �rrzB.f�����w�y�{�S� � rc�&��|t�|��dfSr�rr�rr s �rrzB.cm�����U�W�Z�\�3�'�'r�rrrrrr�
__classcell__�r s@rrr����!��(��(rrc�2��eZdZ�fd�Ze�fd��Z�xZS)�Cc�&��t�|��dzS�Nr+rrs �rrzC.fr!rc�&��|t�|��dfSr-r#r$s �rrzC.cmr%rr&r(s@rr+r+r)rr+c�(��eZdZ�fd�Z�fd�Z�xZS)�Dc�&��t�|��dzS�Nr0rrs �rrzD.f#r!rc�&��|t�|��dfSr2r#r$s �rrzD.cm%s����U�W�Z�\�3�'�'r)rrrrrr'r(s@rr0r0"s���!�(�(rr0c��eZdZy)�EN�rrrrrrr5r5(���rr5c�$�eZdZejZy)�FN)rrrr5rrrrr9r9+s��	���Arr9c��eZdZy)�GNr6rrrr;r;.r7rr;c�8��eZdZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
�fd	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Z�fd�Zd�Z�fd�Z�fd�Z�fd�Zd�Zd�Zd�Zd�Zd�Zd�Z �fd�Z!�fd �Z"�fd!�Z#d"�Z$d#�Z%e&jN�d$��Z(�xZ)S)%�	TestSuperc���t�y�N)r=rs �r�tearDownzTestSuper.tearDown4s
����	rc�T�|jt�j�d�y�N�ABCD��assertEqualr0rrs r�test_basics_workingzTestSuper.test_basics_working9s����������&�)rc�^�|jtjt��d�yrBrDrs r�test_class_getattr_workingz$TestSuper.test_class_getattr_working<s��������Q�S��6�*rc��|jt�j�d�|jtjt��d�yrB)rEr5rrs r�!test_subclass_no_override_workingz+TestSuper.test_subclass_no_override_working?�4����������&�)�������Q�S��6�*rc��|jt�j�d�|jtjt��d�yrB)rEr9rrs r�$test_unbound_method_transfer_workingz.TestSuper.test_unbound_method_transfer_workingCrKrc�d�|jtj�tdf�|jt�j�tdf�|jtj�tdf�|jt�j�tdf�yr
)rErrr;rs r� test_class_methods_still_workingz*TestSuper.test_class_methods_still_workingGsn���������!�S��*���������A�s�8�,��������!�S��*���������A�s�8�,rc��t�}|j|j�|tttdfdfdfdf�t�}|j|j�|tttdfdfdfdf�y)Nrrr+r0)r0rErr5)r
�d�es   r�#test_super_in_class_methods_workingz-TestSuper.test_super_in_class_methods_workingMsn��
�C���������!�a�!�a��X�s�);�S�%A�3�!G�H�
�C���������!�a�!�a��X�s�);�S�%A�3�!G�Hrc�l�Gd�dt�}|j|�j�d�y)Nc���eZdZ�fd�Z�xZS)�,TestSuper.test_super_with_closure.<locals>.Ec�2����fd�}t����dzS)Nc�
���yr?rrs�r�nestedz>TestSuper.test_super_with_closure.<locals>.E.f.<locals>.nestedXs���rr5r)r
rYr s` �rrz.TestSuper.test_super_with_closure.<locals>.E.fWs�����w�y�{�S�(�(r�rrrrr'r(s@rr5rVVs
���
)�
)rr5�AE)rrEr)r
r5s  r�test_super_with_closurez!TestSuper.test_super_with_closureSs(��	)��	)�	
��������$�'rc���Gd�dt�}|�}|j|j�d�|j|jd�G�fd�d�}|j	|j
t
|��|jt�5}tdt�i�ddd�|j	t
j�t�Gd�d�}|jt�dd	�t�d=|jd|j�G�fd
�d�}|j�d	�y#1swY��xYw)Nc�"��eZdZ�fd�ZdZ�xZS)�7TestSuper.test_various___class___pathologies.<locals>.Xc� ��t�|��Sr?rrs �rrz9TestSuper.test_various___class___pathologies.<locals>.X.fas����w�y�{�"r�)rrrrr r'r(s@r�Xr_`s
���
#��Irrbrrac�&���eZdZW�Z�fd�Z�xZS)r_c�
���yr?rr(s�rrz9TestSuper.test_various___class___pathologies.<locals>.X.fi����r)rrr�xrr'�r r s@�rrbz7TestSuper.test_various___class___pathologies.<locals>.Xgs����A�
�
rzYclass X:
                __class__
                def f():
                    __class__c�"��eZdZda�fd�Z�xZS)r_�*c�
���yr?rr(s�rrz9TestSuper.test_various___class___pathologies.<locals>.X.furer)rrrr rr'r(s@rrbz7TestSuper.test_various___class___pathologies.<locals>.Xrs����I�
�
rr ric�$���eZdZd��fd�Z�xZS)r_ric�
���yr?rr(s�rrz9TestSuper.test_various___class___pathologies.<locals>.X.f}rerrZrgs@�rrbz7TestSuper.test_various___class___pathologies.<locals>.Xzs����I�
�
r)rrErr �assertIsrf�type�assertRaises�	NameError�exec�globals�	exception�assertNotIn�__dict__)r
rbrfrRr s    �r�"test_various___class___pathologiesz,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�Ec�b�Gd�d�}|j|�j�|�y)Nc���eZdZ�fd�Z�xZS)�2TestSuper.test___class___instancemethod.<locals>.Xc����Sr?rrs �rrz4TestSuper.test___class___instancemethod.<locals>.X.f��	��� � rrZr(s@rrbry��
���
!�
!rrb�rmr�r
rbs  r�test___class___instancemethodz'TestSuper.test___class___instancemethod�s$��	!�	!�	
�
�
�a�c�e�e�g�q�!rc�X�Gd�d�}|j|j�|�y)Nc�(��eZdZe�fd��Z�xZS)�/TestSuper.test___class___classmethod.<locals>.Xc����Sr?rr$s �rrz1TestSuper.test___class___classmethod.<locals>.X.f��	��� � r)rrrrrr'r(s@rrbr��s���
�
!��
!rrbr}r~s  r�test___class___classmethodz$TestSuper.test___class___classmethod��"��	!�	!�	
�
�
�a�c�c�e�Q�rc�X�Gd�d�}|j|j�|�y)Nc�(��eZdZe�fd��Z�xZS)�0TestSuper.test___class___staticmethod.<locals>.Xc����Sr?rr(s�rrz2TestSuper.test___class___staticmethod.<locals>.X.f�r�r�rrr�staticmethodrr'r(s@rrbr������
�
!��
!rrbr}r~s  r�test___class___staticmethodz%TestSuper.test___class___staticmethod�r�rc�h��d�G�fd�dt�}Gd�d|��}|j�|�y)Nc�"���eZdZ��fd�Z�xZS)�*TestSuper.test___class___new.<locals>.Metac�L��t�|�||||�}|j��|Sr?)r�__new__r)r�name�bases�	namespacer
r �
test_classs     ��rr�z2TestSuper.test___class___new.<locals>.Meta.__new__�s'����w��s�D�%��C��!�V�V�X�
��r�rrrr�r'�r r�s@�r�Metar��s
���
�
rr�c�(��eZdZe�fd��Z�xZS)�'TestSuper.test___class___new.<locals>.Ac����Sr?rr(s�rrz)TestSuper.test___class___new.<locals>.A.f�r�rr�r(s@rrr��r�rr��	metaclass�rnrm�r
r�rr�s   @r�test___class___newzTestSuper.test___class___new�s2����
�	�4�	�	!�$�	!�
	
�
�
�j�!�$rc����d�G�fd�dt�}Gd�d|��}|j|d�tdd��}|j|j�|�y)Nc���eZdZ�fd�Zy)�.TestSuper.test___class___delayed.<locals>.Metac�
��|�yr?r)rr�r�r��test_namespaces    �rr�z6TestSuper.test___class___delayed.<locals>.Meta.__new__�s���!*��rN)rrrr�)r�s�rr�r��s���
rr�c�(��eZdZe�fd��Z�xZS)�+TestSuper.test___class___delayed.<locals>.Ac����Sr?rr(s�rrz-TestSuper.test___class___delayed.<locals>.A.f�r�rr�r(s@rrr��r�rrr�rr)rnrmr)r
r�rrr�s    @r�test___class___delayedz TestSuper.test___class___delayed�sR�����	�4�	�	!�$�	!�
	
�
�
�a�����b�.�)���
�
�a�c�c�e�Q�rc�h��d�Gd�dt�}G�fd�d|��}|j�|�y)Nc���eZdZ�fd�Z�xZS)�*TestSuper.test___class___mro.<locals>.Metac�H��|jd�t�|�	�S)Nr)rur�mrors �rr�z.TestSuper.test___class___mro.<locals>.Meta.mro�s ���"��
�
�c�"�$��w�{�}�$r)rrrr�r'r(s@rr�r��s
���
%�
%rr�c�"���eZdZ��fd�Z�xZS)�'TestSuper.test___class___mro.<locals>.Ac�
����yr?rr�s��rrz)TestSuper.test___class___mro.<locals>.A.f�s���&�
rrZr�s@�rrr��s
���
'�
'rrr�r�r�s   @r�test___class___mrozTestSuper.test___class___mro�s0����
�	%�4�	%�	'�$�	'�
	
�
�
�j�!�$rc���G�fd�dt�}d�Gd�d|��}|jd��d�Gd�d|��}�d}|jj}|j	t|�d	�|j
||d
�|jt�5|jddd�y#1swYyxYw)Nc�"���eZdZ��fd�Z�xZS)�=TestSuper.test___classcell___expected_behaviour.<locals>.Metac�H��|j��t�|�	||||�Sr?)�copyrr�)rr�r�r�r �namespace_snapshots    ��rr�zETestSuper.test___classcell___expected_behaviour.<locals>.Meta.__new__�s%���%.�^�^�%5�"��w��s�D�%��C�Crr�)r r�s@�rr�r��s���
D�
Drr�c��eZdZy)�HTestSuper.test___classcell___expected_behaviour.<locals>.WithoutClassRefNr6rrr�WithoutClassRefr�����rr�r�r'c���eZdZ�fd�Z�xZS)�ETestSuper.test___classcell___expected_behaviour.<locals>.WithClassRefc����Sr?rrs �rrzGTestSuper.test___classcell___expected_behaviour.<locals>.WithClassRef.f�r{rrZr(s@r�WithClassRefr��r|rr��r)
rnrtr�__closure__rE�lenrmro�AttributeErrorr')r
r�r�r��
class_cell�method_closurer�s      @r�%test___classcell___expected_behaviourz/TestSuper.test___classcell___expected_behaviour�s����	D�4�	D�"��	��	�����*<�=�
"��	!�T�	!�(��8�
�%���3�3������^�,�a�0��
�
�j�.��"3�4�
�
�
�~�
.��&�&�/�
.�
.�s�!
B7�7Cc��Gd�dt�}Gd�d|��}d}|jt|�5Gd�d|��}ddd�y#1swYyxYw)	Nc���eZdZ�fd�Z�xZS)�2TestSuper.test___classcell___missing.<locals>.Metac�L��|jdd�t�|�	||||�S�Nr')�poprr�)rr�r�r�r s    �rr�z:TestSuper.test___classcell___missing.<locals>.Meta.__new__�s&����
�
�o�t�4��w��s�D�%��C�Crr�r(s@rr�r������
D�
Drr�c��eZdZy)�=TestSuper.test___classcell___missing.<locals>.WithoutClassRefNr6rrrr�r��r�rr�r�z+__class__ not set.*__classcell__ propagatedc���eZdZ�fd�Z�xZS)�:TestSuper.test___classcell___missing.<locals>.WithClassRefc����Sr?rrs �rrz<TestSuper.test___classcell___missing.<locals>.WithClassRef.f�	���$�$rrZr(s@rr�r��
���%�%rr�)rn�assertRaisesRegex�RuntimeError)r
r�r��expected_errorr�s     r�test___classcell___missingz$TestSuper.test___classcell___missing�sM��	D�4�	D�	��	�G��
�
#�
#�L�.�
A�
%��
%�B�
A�
A�s�
A
�
Ac	��Gd�dt�}dddt�fD]H}|j|��5|jt�5Gd�d||��}ddd�ddd��Jy#1swY�xYw#1swY�axYw)	Nc���eZdZ�fd�Z�xZS)�4TestSuper.test___classcell___overwrite.<locals>.Metac�2��||d<t�|�||||�Sr��rr�)rr�r�r��cellr s     �rr�z<TestSuper.test___classcell___overwrite.<locals>.Meta.__new__
s"���-1�	�/�*��w��s�D�%��C�Crr�r(s@rr�r�	r�rr�r�)�bad_cellc��eZdZy)�1TestSuper.test___classcell___overwrite.<locals>.ANr6rrrrr�s��rr)r�r�)rn�object�subTestro�	TypeError)r
r�r�rs    r�test___classcell___overwritez&TestSuper.test___classcell___overwritesn��	D�4�	D�
�q�"�f�h�/�H����x��0��&�&�y�1��d���2�1�0�0�1�1��1�0�s#�A6�	A*�A6�*A3�/A6�6A?	c��Gd�dt�}|jt�5Gd�d|��}ddd�y#1swYyxYw)Nc���eZdZ�fd�Z�xZS)�5TestSuper.test___classcell___wrong_cell.<locals>.Metac�F��t�|�||||�}tdd|�}|S)Nrr)rr�rn)rr�r�r�rr s     �rr�z=TestSuper.test___classcell___wrong_cell.<locals>.Meta.__new__s*����g�o�c�4��	�B����b�)�,���
rr�r(s@rr�r�s
���
�
rr�c���eZdZ�fd�Z�xZS)�2TestSuper.test___classcell___wrong_cell.<locals>.Ac����Sr?rrs �rrz4TestSuper.test___classcell___wrong_cell.<locals>.A.fr�rrZr(s@rrr�r�rrr�)rnror�)r
r�rs   r�test___classcell___wrong_cellz'TestSuper.test___classcell___wrong_cells6��	�4�	��
�
�y�
)�
%�d�
%�*�
)�
)�s	�
;�Ac����fd�}|jtd�5|�ddd�Gd�d�}|jtd�5|j�ddd��fd�}|jtd�5|d�ddd�Gd�d�}|jtd	�5|�j�ddd�y#1swY��xYw#1swY��xYw#1swY�`xYw#1swYyxYw)
Nc���t�yr?�rr(s�rrz.TestSuper.test_obscure_super_errors.<locals>.f#s����Grzno argumentsc���eZdZ�fd�Z�xZS)�.TestSuper.test_obscure_super_errors.<locals>.Cc���t�yr?r�r(s�rrz0TestSuper.test_obscure_super_errors.<locals>.C.f)�����rrZr(s@rr+r�(�
���
�
rr+c���~t�yr?r��rfr s �rrz.TestSuper.test_obscure_super_errors.<locals>.f.s�����Grzarg\[0\] deletedc���eZdZ�fd�Z�xZS)�.TestSuper.test_obscure_super_errors.<locals>.Xc����t�yr?r�r�s �rrz0TestSuper.test_obscure_super_errors.<locals>.X.f5s�����rrZr(s@rrbr�4s
���
�
rrbzempty __class__ cell)r�r�r)r
rr+rbr s    �r�test_obscure_super_errorsz#TestSuper.test_obscure_super_errors"s����	�
�
#�
#�L�/�
B�
�C�C�	�	��
#�
#�L�/�
B�
�C�C�E�C�	��
#�
#�L�2E�
F�
�d�G�G�	�	�
�
#�
#�L�2I�
J�
�C�E�E�G�K�
J�)C�
B��C�
B��G�
F��K�
J�s/�C�
C�	C)�2C5�C�C&�)C2�5C>c���Gd�d���fd�}|�jd}|jt�j|�y)Nc���eZdZ�fd�Z�xZS)�&TestSuper.test_cell_as_self.<locals>.Xc���t�yr?r�rs �r�methz+TestSuper.test_cell_as_self.<locals>.X.meth>r�r)rrrrr'r(s@rrbr=r�rrbc�"�������fd�}|S)Nc����Sr?r)�ks�r�gz1TestSuper.test_cell_as_self.<locals>.f.<locals>.gCs����rr)rrrbs @�rrz&TestSuper.test_cell_as_self.<locals>.fAs�����A�
��Hrr)r�ror�r)r
r�crbs   @r�test_cell_as_selfzTestSuper.test_cell_as_self<s:���	�	�	�

�C�O�O�A������)�Q�V�V�Q�/rc�|��ttd�}td�D]}tj|t|��y)Ng�?i�)r�float�range�__init__�int)r
�sp�ir s   �r�test_super_init_leakszTestSuper.test_super_init_leaksIs/���
�5�#�
���t��A��N�N�2�s�A�&�rc���|jtd�5tttt�ddd�y#1swYyxYw)Nzexpected at most�r�r�rrrs �r�test_super_argcountzTestSuper.test_super_argcountRs-���
�
#�
#�I�/A�
B��#�s�C� �C�
B�
B�s	�;�Ac�|��|jtd�5tdt�ddd�y#1swYyxYw)N�argument 1 must be a typer�rrs �r�test_super_argtypezTestSuper.test_super_argtypeVs*���
�
#�
#�I�/J�
K��!�S�M�L�
K�
K�s�2�;c��tjd�}tjd|��5ddl}ddd�|jj
�j�d�tjd�y#1swY�MxYw)Nz�
            class super:
                msg = "truly super"

            class C:
                def method(self):
                    return super().msg
            �shadowed_super)r��sourcerztruly super)	�textwrap�dedentr�ready_to_importrrEr+�method�unload)r
rrs   r�test_shadowed_globalzTestSuper.test_shadowed_globalZsl�����
�	
���
*�
*�0@��
P�!�Q�����)�)�+�2�2�4�m�D����-�.�Q�
P�s�A>�>Bc�|��Gd�d��G�fd�d�}|j|�j�d�y)Nc��eZdZdZy)�,TestSuper.test_shadowed_local.<locals>.super�quite superN�rrr�msgrrrrr$k����Crrc�"���eZdZ��fd�Z�xZS)�(TestSuper.test_shadowed_local.<locals>.Cc�&����jSr?)r')r
r rs ��rrz/TestSuper.test_shadowed_local.<locals>.C.methodos����w�{�{�"r�rrrrr')r rs@�rr+r*ns
���
#�
#rr+r%)rEr)r
r+rs  @r�test_shadowed_localzTestSuper.test_shadowed_localjs1���	 �	 �	#�	#�	
��������}�5rc���Gd�d�}Gd�d�}tt�d�|�5}|j|�j�d�ddd�y#1swYyxYw)Nc��eZdZdZy)�0TestSuper.test_shadowed_dynamic.<locals>.MySuper�super superNr&rrr�MySuperr0ur(rr2c���eZdZ�fd�Z�xZS)�*TestSuper.test_shadowed_dynamic.<locals>.Cc���t�|�Sr?�rr'rs �rrz1TestSuper.test_shadowed_dynamic.<locals>.C.methody�
����w�{�"rr,r(s@rr+r4x�
���
#�
#rr+�.superr1�rrrEr)r
r2r+�ms    r�test_shadowed_dynamiczTestSuper.test_shadowed_dynamictsO��	 �	 �	#�	#��h�Z�v�&��
0�A����Q�S�Z�Z�\�=�9�1�
0�
0�s�&A�A c���g�G�fd�d�}Gd�d�}tt�d�|�5}|j|�j�d�|j�dg�ddd�y#1swYyxYw)Nc���eZdZ�fd�ZdZy)�8TestSuper.test_shadowed_dynamic_two_arg.<locals>.MySuperc�(���j|�yr?)�append)r
�args�	call_argss  �rrzATestSuper.test_shadowed_dynamic_two_arg.<locals>.MySuper.__init__�s���� � ��&rr1N)rrrrr')rCs�rr2r?�s
���
'��Crr2c���eZdZ�fd�Z�xZS)�2TestSuper.test_shadowed_dynamic_two_arg.<locals>.Cc���tdd�S)Nr�rr6rs �rrz9TestSuper.test_shadowed_dynamic_two_arg.<locals>.C.method�s����Q���&rr,r(s@rr+rE�s
���
'�
'rr+r9r1)r�rr:)r
r2r+r;rCs    @r�test_shadowed_dynamic_two_argz'TestSuper.test_shadowed_dynamic_two_argsg����	�	 �	 �
	'�	'��h�Z�v�&��
0�A����Q�S�Z�Z�\�=�9����Y���1�1�
0�
0�s�9A/�/A8c��Gd�d�}|jtd�5|�j�ddd�y#1swYyxYw)Nc���eZdZ�fd�Z�xZS)�)TestSuper.test_attribute_error.<locals>.Cc���t�|�Sr?r6rs �rrz0TestSuper.test_attribute_error.<locals>.C.method�r7rr,r(s@rr+rJ�r8rr+z%'super' object has no attribute 'msg')r�r�r�r
r+s  r�test_attribute_errorzTestSuper.test_attribute_error�s7��	#�	#��
#�
#�N�4[�
\�
�C�J�J�L�]�
\�
\���A�A	c��Gd�d�}|jtd�5|�j�ddd�y#1swYyxYw)Nc���eZdZ�fd�Z�xZS)�'TestSuper.test_bad_first_arg.<locals>.Cc� ��td|��S)Nr�)rrrs �rrz.TestSuper.test_bad_first_arg.<locals>.C.method�s����Q��,�.�.rr,r(s@rr+rQ�s
���
/�
/rr+r)r�r�rrLs  r�test_bad_first_argzTestSuper.test_bad_first_arg�s7��	/�	/��
#�
#�I�/J�
K�
�C�J�J�L�L�
K�
K�rNc�l��Gd�d�}|j|�j�t�y)Nc���eZdZ�fd�Z�xZS)�)TestSuper.test_super___class__.<locals>.Cc�,��t�jSr?)rr rs �rrz0TestSuper.test_super___class__.<locals>.C.method�s����w�(�(�(rr,r(s@rr+rV�s
���
)�
)rr+)rErr)r
r+r s  �r�test_super___class__zTestSuper.test_super___class__�s'���	)�	)�	
��������u�-rc�����Gd�dt��G��fd�d��|j��j���y)Nc��eZdZy)�8TestSuper.test_super_subclass___class__.<locals>.mysuperNr6rrr�mysuperr[�r�rr\c���eZdZ��fd�Zy)�2TestSuper.test_super_subclass___class__.<locals>.Cc�*����|�jSr?r()r
r+r\s ��rrz9TestSuper.test_super_subclass___class__.<locals>.C.method�s����q�$�'�1�1�1rN)rrrr)r+r\s��rr+r^�s���
2rr+)rrEr)r
r+r\r s @@�r�test_super_subclass___class__z'TestSuper.test_super_subclass___class__�s3���	�e�	�	2�	2�	
��������w�/rc�n����Gd�dt�����fd�}tt�D]
}|d��y)Nc��eZdZy)�/TestSuper.test_unusual_getattro.<locals>.MyTypeNr6rrr�MyTyperc�r�rrdc����|�fi�}t�t|��|dd��j|jd�y)N�barr�)rrn�__setattr__rErf)r��mytyperdr r
s  ���r�testz-TestSuper.test_unusual_getattro.<locals>.test�s>����D�6�)�R�0�F��&�$�v�,�3�F�E�1�E����V�Z�Z��+r�foo1)rnr
�ADAPTIVE_WARMUP_DELAY)r
ri�_rdr s`  @�r�test_unusual_getattrozTestSuper.test_unusual_getattro�s-���	�T�	�	,�
�,�-�A���L�.rc�z�Gd�d�}Gd�d|�}Gd�d|�}tt�D]	}|��y)Nc��eZdZd�Zd�Zy)�(TestSuper.test_reassigned_new.<locals>.Ac��yr?rrs rr�z0TestSuper.test_reassigned_new.<locals>.A.__new__�s��rc�D�d|jvr|j|_yy)Nr�)rur�rs r�__init_subclass__z:TestSuper.test_reassigned_new.<locals>.A.__init_subclass__�s���C�L�L�0�"%�+�+�C�K�1rN)rrrr�rsrrrrrp�s��
�
.rrc��eZdZy)�(TestSuper.test_reassigned_new.<locals>.BNr6rrrrru�r�rrc���eZdZ�fd�Z�xZS)�(TestSuper.test_reassigned_new.<locals>.Cc�"��t�|�|�Sr?r�r$s �rr�z0TestSuper.test_reassigned_new.<locals>.C.__new__�s����w��s�+�+rr�r(s@rr+rw�s
���
,�
,rr+)r
rk�r
rrr+rls     r�test_reassigned_newzTestSuper.test_reassigned_new�s;��	.�	.�	��	�	,��	,��,�-�A�
�C�.rc���G�fd�d�}Gd�d|�}Gd�d|�}tt�D]}|j|��y)Nc�"��eZdZe�fd��Zy)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.Ac�J���j|��j|�yr?)�assertFalse)rrB�kwargsr
s   �r�somez;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.A.some�s���� � ��&�� � ��(rN)rrrr�r�rs�rrr}�s���
�
)��
)rrc���eZdZ�fd�Z�xZS)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.Bc�*��t�|�|g|��i|��Sr?�rr�)rrBr�r s   �rr�z;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.B.some�s����w�|�C�9�$�9�&�9�9r)rrrr�r'r(s@rrr��s
���
:�
:rrc�(��eZdZe�fd��Z�xZS)�6TestSuper.test_mixed_staticmethod_hierarchy.<locals>.Cc�"��t�|�|�Sr?r�r$s �rr�z;TestSuper.test_mixed_staticmethod_hierarchy.<locals>.C.some�s����w�|�C�(�(r)rrrr�r�r'r(s@rr+r��s���
�
)��
)rr+)r
rkr�rys`    r�!test_mixed_staticmethod_hierarchyz+TestSuper.test_mixed_staticmethod_hierarchy�sB���	)�	)�	:��	:�	)��	)�
�,�-�A�
�F�F�1�I�.rc�����	Gd�d��Gd�d��������fd�}g}td�D]9}tj|��}|j�|j	|��;|D]}|j��y)Nc��eZdZy)�@TestSuper.test___class___modification_multithreaded.<locals>.FooNr6rrr�Foor��r�rr�c��eZdZy)�@TestSuper.test___class___modification_multithreaded.<locals>.BarNr6rrr�Barr��r�rr�c�r���}td�D]&}�|_t|��|_t|��(y)Ni�)r
r rn)�foorlr�r��things  ���r�workzATestSuper.test___class___modification_multithreaded.<locals>.work�s2����C��4�[�� #��
��S�	� #��
��S�	�	!r�)�target)r
�	threading�Thread�startrA�join)r
r��threadsrl�threadr�r�r�s     @@@r�)test___class___modification_multithreadedz3TestSuper.test___class___modification_multithreaded�sy���	�
	�	�	�	����	����q��A��%�%�T�2�F��L�L�N��N�N�6�"��
�F��K�K�M�r)*rrrr@rFrHrJrMrOrSr\rvrr�r�r�r�r�r�r�r�r�r�r
rrrr!r-r<rGrMrSrXr`rmrzr�r�requires_working_threadingr�r'r(s@rr=r=2s�����
*�+�+�+�-�I�	(�!(�F"� � �%�& �(%�"'�>%�.�%��40�'�!��/� 6�	:�
2���.�0�
��&�(1��0�0�2��3�rr=�__main__)rr��unittest�
unittest.mockr�test.supportrrrkrrr+r0r5r9r;�TestCaser=r�mainrrr�<module>r�s���?�����8�����(��(�(��(�(��1�(�	��	����	��	�N��!�!�N�b�z���H�M�M�O�r

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