| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/unittest/__pycache__/ |
Upload File : |
a
�i� � @ s\ d Z ddlZddlZddlZddlmZ ddlmZ dZdd� Z d Z
d
ZG dd� de�Z
dS )
zTest result object� N� )�util��wrapsTc s t � �� fdd��}|S )Nc s* t | dd�r| �� � | g|�R i |��S )N�failfastF)�getattr�stop)�self�args�kw��method� �'/usr/lib64/python3.9/unittest/result.py�inner
s zfailfast.<locals>.innerr )r
r r r r r s r z
Stdout:
%sz
Stderr:
%sc @ s� e Zd ZdZdZdZdZd0dd�Zdd� Zdd � Z d
d� Z
dd
� Zdd� Zdd� Z
dd� Zedd� �Zedd� �Zdd� Zdd� Zdd� Zdd� Zed d!� �Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� ZdS )1�
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 C sb d| _ g | _g | _d| _g | _g | _g | _d| _d| _d| _ d | _
d | _tj
| _tj| _d| _d S )NFr )r �failures�errors�testsRun�skipped�expectedFailures�unexpectedSuccesses�
shouldStop�buffer� tb_locals�_stdout_buffer�_stderr_buffer�sys�stdout�_original_stdout�stderr�_original_stderr�
_mirrorOutput)r �streamZdescriptions� verbosityr r r �__init__&