| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1/cwd/proc/1/cwd/usr/lib64/python3.12/unittest/__pycache__/ |
Upload File : |
�
�֦i�# � �` � d Z ddlZddlZddlZddlmZ ddlmZ dZd� Z dZ
d Z G d
� de� Z
y)zTest result object� N� )�util��wrapsTc �. � � t � � � fd�� }|S )Nc �V �� t | dd� r| j � �| g|��i |��S )N�failfastF)�getattr�stop)�self�args�kw�methods ��(/usr/lib64/python3.12/unittest/result.py�innerzfailfast.<locals>.inner
s- �� ��4��U�+��I�I�K��d�(�T�(�R�(�(� r )r r s ` r r r s �� �
�6�]�)� �)� �Lr z
Stdout:
%sz
Stderr:
%sc �� � e Zd ZdZdZdZdZdd�Zd� Zd� Z d� Z
d� Zd � Zd
� Z
d� Zed� � Zed
� � Zd� Zd� Zd� Zd� Zed� � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy)�
TestResulta� Holder for test result information.
Test results are automatically managed by the TestCase and TestSuite
classes, and do not need to be explicitly manipulated by writers of tests.
Each instance holds the total number of tests run, and collections of
failures and errors that occurred among those test runs. The collections
contain tuples of (testcase, exceptioninfo), where exceptioninfo is the
formatted traceback of the error that occurred.
NFc � � d| _ g | _ g | _ d| _ g | _ g | _ g | _ g | _ d| _ d| _ d| _
d | _ d | _ t j | _ t j | _ d| _ y )NFr )r �failures�errors�testsRun�skipped�expectedFailures�unexpectedSuccesses�collectedDurations�
shouldStop�buffer� tb_locals�_stdout_buffer�_stderr_buffer�sys�stdout�_original_stdout�stderr�_original_stderr�
_mirrorOutput)r �stream�descriptions� verbositys r �__init__zTestResult.__init__&