Your IP : 216.73.216.85


Current Path : /opt/alt/python37/lib64/python3.7/unittest/test/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/unittest/test/__pycache__/_test_warnings.cpython-37.opt-2.pyc

B

YI~d	�	@s�ddlZddlZddlZdd�ZGdd�dej�Zedkr�ejdd��6Ze	ej
�d	krlejd
ej
��d�nejd
d�WdQRXxeD]Z
ee
j�q�WdS)
�NcCst�dt�dS)N�rw)�warnings�warn�RuntimeWarning�rr�A/opt/alt/python37/lib64/python3.7/unittest/test/_test_warnings.py�warnfunsrc@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�TestWarningscCs(|�dd�|�dd�|�dd�dS)N�)ZassertEquals)�selfrrr�test_assertszTestWarnings.test_assertcCs|�d�|�d�dS)N�T)Z
failUnless)rrrr�	test_fails
zTestWarnings.test_failcCs|�dd�|�dd�dS)Nr
��)ZassertAlmostEqualZassertNotAlmostEqual)rrrr�test_other_unittest sz TestWarnings.test_other_unittestcCs(t�dt�t�dt�t�dt�dS)NZdw)rr�DeprecationWarning)rrrr�test_deprecation%szTestWarnings.test_deprecationcCs(t�dt�t�dt�t�dt�dS)N�iw)rr�
ImportWarning)rrrr�test_import*szTestWarnings.test_importcCs"t�d�t�d�t�d�dS)NZuw)rr)rrrr�test_warning0s

zTestWarnings.test_warningcCst�t�t�dS)N)r)rrrr�
test_function7szTestWarnings.test_functionN)
�__name__�
__module__�__qualname__rrrrrrrrrrrr	sr	�__main__T)�recordrF)�exitr)r)�sysZunittestrrZTestCaser	r�catch_warningsZws�len�argv�main�pop�w�print�messagerrrr�<module>
s+