Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/test/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/test/__pycache__/test_augassign.cpython-39.opt-2.pyc

a

��g��@s.ddlZGdd�dej�Zedkr*e��dS)�Nc@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�
AugAssignTestcCsdd}|d7}|d9}|dC}|d8}|d}|d;}|dM}|dO}|dN}|d}|�|d�dS)N������@��assertEqual��self�x�r�//usr/local/lib/python3.9/test/test_augassign.py�	testBasicszAugAssignTest.testBasiccCs|�ttddd�dS)Nz	x, b += 3z<test>�exec)�assertRaises�SyntaxError�compile)rrrr�test_with_unpackingsz!AugAssignTest.test_with_unpackingcCs�dg}|dd7<|dd9<|ddC<|dd8<|dd<|dd;<|ddM<|ddO<|ddN<|dd<|�|dd�dS)Nrrrrrrrr	rrrr�
testInListszAugAssignTest.testInListcCs�ddi}|dd7<|dd9<|ddC<|dd8<|dd<|dd;<|ddM<|ddO<|ddN<|dd<|�|dd�dS)Nrrrrrrrr	rrrr�
testInDict&szAugAssignTest.testInDictcCs�ddg}|ddg7}|d9}|�|gd��gd�}|}|dd�d9<|dd�dg7<|�|gd��|�||u�dS)Nrrr�)rrrrrrrr)rrr)rrrrr)r
�
assertTrue)rr
�yrrr�
testSequences4szAugAssignTest.testSequencescs.G�fdd�d��Gdd�d��}G�fdd�d���Gdd�d��}�d	�}|}|d
7}|�|��|�||u�|�|jd�|d�}|}|d
7}|�||u�|�|jd
��d�}|}|d
7}|�|��|�||u�|�|jd�|d�}|�t��|d
7}Wd�n1�s 0YdS)Ncs(eZdZdd�Zdd�Z�fdd�ZdS)z2AugAssignTest.testCustomMethods1.<locals>.aug_testcSs
||_dS�N��val)r�valuerrr�__init__Fsz;AugAssignTest.testCustomMethods1.<locals>.aug_test.__init__cSs
|j|Srr�rrrrr�__radd__Hsz;AugAssignTest.testCustomMethods1.<locals>.aug_test.__radd__cs�|j|�Srrr!��aug_testrr�__add__Jsz:AugAssignTest.testCustomMethods1.<locals>.aug_test.__add__N)�__name__�
__module__�__qualname__r r"r%rr#rrr$Esr$c@seZdZdd�ZdS)z3AugAssignTest.testCustomMethods1.<locals>.aug_test2cSs|j||_|Srrr!rrr�__iadd__Nsz<AugAssignTest.testCustomMethods1.<locals>.aug_test2.__iadd__N�r&r'r(r)rrrr�	aug_test2Msr+cseZdZ�fdd�ZdS)z3AugAssignTest.testCustomMethods1.<locals>.aug_test3cs�|j|�Srrr!��	aug_test3rrr)Ssz<AugAssignTest.testCustomMethods1.<locals>.aug_test3.__iadd__Nr*rr,rrr-Rsr-c@seZdZdZdS)z3AugAssignTest.testCustomMethods1.<locals>.aug_test4Nr*rrrr�	aug_test4Vsr.r�
�r�r�
r)ZassertIsInstancerr
rr�	TypeError)rr+r.r
rr)r$r-r�testCustomMethods1Cs0z AugAssignTest.testCustomMethods1cshg�G�fdd�d�}|�}|dd||d7}|dd||d8}|dd||d9}|dd||d}|dd||d}|dd||d}|dd||d;}|dd||dC}|dBd|B|dO}|d@d|@|dM}|dAd|A|dN}|d?d|?|dL}|d>d|>|dK}|��d���dS)Ncs�eZdZ�fdd�Z�fdd�Z�fdd�Z�fdd�Z�fd	d
�Z�fdd�Z�fd
d�Z	�fdd�Z
�fdd�Z�fdd�Z�fdd�Z
�fdd�Z�fdd�Z�fdd�Z�fdd�Z�fdd �Z�fd!d"�Z�fd#d$�Z�fd%d&�Z�fd'd(�Z�fd)d*�Z�fd+d,�Z�fd-d.�Z�fd/d0�Z�fd1d2�Z�fd3d4�Z�fd5d6�Z�fd7d8�Z�fd9d:�Z�fd;d<�Z �fd=d>�Z!�fd?d@�Z"�fdAdB�Z#�fdCdD�Z$�fdEdF�Z%�fdGdH�Z&�fdIdJ�Z'�fdKdL�Z(�fdMdN�Z)dOS)Pz1AugAssignTest.testCustomMethods2.<locals>.testallcs��d�dS)Nz__add__ called��appendr!��outputrrr%zsz9AugAssignTest.testCustomMethods2.<locals>.testall.__add__cs��d�dS)Nz__radd__ calledr5r!r7rrr"|sz:AugAssignTest.testCustomMethods2.<locals>.testall.__radd__cs��d�|S)Nz__iadd__ calledr5r!r7rrr)~s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__iadd__cs��d�dS)Nz__sub__ calledr5r!r7rr�__sub__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__sub__cs��d�dS)Nz__rsub__ calledr5r!r7rr�__rsub__�sz:AugAssignTest.testCustomMethods2.<locals>.testall.__rsub__cs��d�|S)Nz__isub__ calledr5r!r7rr�__isub__�s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__isub__cs��d�dS)Nz__mul__ calledr5r!r7rr�__mul__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__mul__cs��d�dS)Nz__rmul__ calledr5r!r7rr�__rmul__�sz:AugAssignTest.testCustomMethods2.<locals>.testall.__rmul__cs��d�|S)Nz__imul__ calledr5r!r7rr�__imul__�s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__imul__cs��d�dS)Nz__matmul__ calledr5r!r7rr�
__matmul__�sz<AugAssignTest.testCustomMethods2.<locals>.testall.__matmul__cs��d�dS)Nz__rmatmul__ calledr5r!r7rr�__rmatmul__�sz=AugAssignTest.testCustomMethods2.<locals>.testall.__rmatmul__cs��d�|S)Nz__imatmul__ calledr5r!r7rr�__imatmul__�s
z=AugAssignTest.testCustomMethods2.<locals>.testall.__imatmul__cs��d�|S)Nz__floordiv__ calledr5r!r7rr�__floordiv__�s
z>AugAssignTest.testCustomMethods2.<locals>.testall.__floordiv__cs��d�|S)Nz__ifloordiv__ calledr5r!r7rr�
__ifloordiv__�s
z?AugAssignTest.testCustomMethods2.<locals>.testall.__ifloordiv__cs��d�|S)Nz__rfloordiv__ calledr5r!r7rr�
__rfloordiv__�s
z?AugAssignTest.testCustomMethods2.<locals>.testall.__rfloordiv__cs��d�|S)Nz__truediv__ calledr5r!r7rr�__truediv__�s
z=AugAssignTest.testCustomMethods2.<locals>.testall.__truediv__cs��d�|S)Nz__rtruediv__ calledr5r!r7rr�__rtruediv__�s
z>AugAssignTest.testCustomMethods2.<locals>.testall.__rtruediv__cs��d�|S)Nz__itruediv__ calledr5r!r7rr�__itruediv__�s
z>AugAssignTest.testCustomMethods2.<locals>.testall.__itruediv__cs��d�dS)Nz__mod__ calledr5r!r7rr�__mod__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__mod__cs��d�dS)Nz__rmod__ calledr5r!r7rr�__rmod__�sz:AugAssignTest.testCustomMethods2.<locals>.testall.__rmod__cs��d�|S)Nz__imod__ calledr5r!r7rr�__imod__�s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__imod__cs��d�dS)Nz__pow__ calledr5r!r7rr�__pow__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__pow__cs��d�dS)Nz__rpow__ calledr5r!r7rr�__rpow__�sz:AugAssignTest.testCustomMethods2.<locals>.testall.__rpow__cs��d�|S)Nz__ipow__ calledr5r!r7rr�__ipow__�s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__ipow__cs��d�dS)Nz
__or__ calledr5r!r7rr�__or__�sz8AugAssignTest.testCustomMethods2.<locals>.testall.__or__cs��d�dS)Nz__ror__ calledr5r!r7rr�__ror__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__ror__cs��d�|S)Nz__ior__ calledr5r!r7rr�__ior__�s
z9AugAssignTest.testCustomMethods2.<locals>.testall.__ior__cs��d�dS)Nz__and__ calledr5r!r7rr�__and__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__and__cs��d�dS)Nz__rand__ calledr5r!r7rr�__rand__�sz:AugAssignTest.testCustomMethods2.<locals>.testall.__rand__cs��d�|S)Nz__iand__ calledr5r!r7rr�__iand__�s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__iand__cs��d�dS)Nz__xor__ calledr5r!r7rr�__xor__�sz9AugAssignTest.testCustomMethods2.<locals>.testall.__xor__cs��d�dS)Nz__rxor__ calledr5r!r7rr�__rxor__�sz:AugAssignTest.testCustomMethods2.<locals>.testall.__rxor__cs��d�|S)Nz__ixor__ calledr5r!r7rr�__ixor__�s
z:AugAssignTest.testCustomMethods2.<locals>.testall.__ixor__cs��d�dS)Nz__rshift__ calledr5r!r7rr�
__rshift__�sz<AugAssignTest.testCustomMethods2.<locals>.testall.__rshift__cs��d�dS)Nz__rrshift__ calledr5r!r7rr�__rrshift__�sz=AugAssignTest.testCustomMethods2.<locals>.testall.__rrshift__cs��d�|S)Nz__irshift__ calledr5r!r7rr�__irshift__�s
z=AugAssignTest.testCustomMethods2.<locals>.testall.__irshift__cs��d�dS)Nz__lshift__ calledr5r!r7rr�
__lshift__�sz<AugAssignTest.testCustomMethods2.<locals>.testall.__lshift__cs��d�dS)Nz__rlshift__ calledr5r!r7rr�__rlshift__�sz=AugAssignTest.testCustomMethods2.<locals>.testall.__rlshift__cs��d�|S)Nz__ilshift__ calledr5r!r7rr�__ilshift__�s
z=AugAssignTest.testCustomMethods2.<locals>.testall.__ilshift__N)*r&r'r(r%r"r)r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\rr7rr�testallysNr]ra�__add__ called
__radd__ called
__iadd__ called
__sub__ called
__rsub__ called
__isub__ called
__mul__ called
__rmul__ called
__imul__ called
__matmul__ called
__rmatmul__ called
__imatmul__ called
__truediv__ called
__rtruediv__ called
__itruediv__ called
__floordiv__ called
__rfloordiv__ called
__ifloordiv__ called
__mod__ called
__rmod__ called
__imod__ called
__pow__ called
__rpow__ called
__ipow__ called
__or__ called
__ror__ called
__ior__ called
__and__ called
__rand__ called
__iand__ called
__xor__ called
__rxor__ called
__ixor__ called
__rshift__ called
__rrshift__ called
__irshift__ called
__lshift__ called
__rlshift__ called
__ilshift__ called
)r
�
splitlines)Z	test_selfr]r
rr7r�testCustomMethods2vsVmz AugAssignTest.testCustomMethods2N)
r&r'r(rrrrrr4r_rrrrrs3r�__main__)ZunittestZTestCaserr&�mainrrrr�<module>s
A

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