Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib64/python3.5/unittest/test/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/unittest/test/__pycache__/_test_warnings.cpython-35.opt-2.pyc



���]	�@s�ddlZddlZddlZdd�ZGdd�dej�Zedkr�ejdd��NZe	ej
�d	kr�ejd
ddej
j��nejd
d�WdQRXxeD]Z
ee
j�q�WdS)
�NcCstjdt�dS)N�rw)�warnings�warn�RuntimeWarning�rr�3/opt/alt/python35/lib64/python3.5/_test_warnings.py�warnfunsrc@sdeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�TestWarningscCs4|jdd�|jdd�|jdd�dS)N��rrr)ZassertEquals)�selfrrr�test_assertszTestWarnings.test_assertcCs|jd�|jd�dS)N�T)Z
failUnless)rrrr�	test_fails
zTestWarnings.test_failcCs$|jdd�|jdd�dS)Nr
rr�)ZassertAlmostEqualZassertNotAlmostEqual)rrrr�test_other_unittest sz TestWarnings.test_other_unittestcCs4tjdt�tjdt�tjdt�dS)NZdw)rr�DeprecationWarning)rrrr�test_deprecation%szTestWarnings.test_deprecationcCs4tjdt�tjdt�tjdt�dS)N�iw)rr�
ImportWarning)rrrr�test_import*szTestWarnings.test_importcCs+tjd�tjd�tjd�dS)NZuw)rr)rrrr�test_warning0s

zTestWarnings.test_warningcCst�t�t�dS)N)r)rrrr�
test_function7szTestWarnings.test_functionN)
�__name__�
__module__�__qualname__r
rrrrrrrrrrr	sr	�__main__�recordTr
�exitFr)�sysZunittestrrZTestCaser	r�catch_warningsZws�len�argv�main�pop�w�print�messagerrrr�<module>
s+"