Your IP : 216.73.216.213


Current Path : /opt/alt/python39/lib64/python3.9/unittest/test/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/unittest/test/__pycache__/_test_warnings.cpython-39.opt-2.pyc

a

XC?h	�@s�ddlZddlZddlZdd�ZGdd�dej�Zedkr�ejdd��@Ze	ej
�d	krlejd
ej
��d�nejd
d�Wd�n1s�0YeD]Z
ee
j�q�dS)
�NcCst�dt�dS)NZrw)�warnings�warn�RuntimeWarning�rr�A/opt/alt/python39/lib64/python3.9/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
failUnlessr
rrr�	test_fails
zTestWarnings.test_failcCs|�dd�|�dd�dS)Nr	��)ZassertAlmostEqualZassertNotAlmostEqualr
rrr�test_other_unittest sz TestWarnings.test_other_unittestcCs(t�dt�t�dt�t�dt�dS)NZdw)rr�DeprecationWarningr
rrr�test_deprecation%szTestWarnings.test_deprecationcCs(t�dt�t�dt�t�dt�dS)NZiw)rr�
ImportWarningr
rrr�test_import*szTestWarnings.test_importcCs"t�d�t�d�t�d�dS)NZuw)rrr
rrr�test_warning0s

zTestWarnings.test_warningcCst�t�t�dS)N)rr
rrr�
test_function7szTestWarnings.test_functionN)
�__name__�
__module__�__qualname__rrrrrrrrrrrrsr�__main__T)�recordrF)�exitr)r)�sysZunittestrrZTestCaserr�catch_warningsZws�len�argv�main�pop�w�print�messagerrrr�<module>
s+*