Your IP : 216.73.216.213


Current Path : /opt/alt/python36/lib64/python3.6/unittest/test/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/unittest/test/__pycache__/_test_warnings.cpython-36.opt-2.pyc

3

��2a	�@s�ddlZddlZddlZdd�ZGdd�dej�Zedkr�ejdd��6Ze	ej
�d	krlejd
ej
j�d�nejd
d�WdQRXxeD]Z
ee
j�q�WdS)
�NcCstjdt�dS)N�rw)�warnings�warn�RuntimeWarning�rr�3/opt/alt/python36/lib64/python3.6/_test_warnings.py�warnfunsrc@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�TestWarningscCs(|jdd�|jdd�|jdd�dS)N��rrr)ZassertEquals)�selfrrr�test_assertszTestWarnings.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 sz TestWarnings.test_other_unittestcCs(tjdt�tjdt�tjdt�dS)NZdw)rr�DeprecationWarning)rrrr�test_deprecation%szTestWarnings.test_deprecationcCs(tjdt�tjdt�tjdt�dS)N�iw)rr�
ImportWarning)rrrr�test_import*szTestWarnings.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	sr	�__main__T)�recordr
F)�exitr)r)�sysZunittestrrZTestCaser	r�catch_warningsZws�len�argv�main�pop�w�print�messagerrrr�<module>
s+