python (3.12.0)
̑e# ` d Z ddlZddlZddlZddlmZ ddlmZ dZd Z dZ
d Z G d
de Z
y)zTest result object N )utilwrapsTc . t fd }|S )Nc V t | dd r| j | g|i |S )NfailfastF)getattrstop)selfargskwmethods C/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/unittest/result.pyinnerzfailfast.<locals>.inner
s- 4U+IIKd(T(R(( r )r r s ` r r r s
6]) ) Lr z
Stdout:
%sz
Stderr:
%sc e Zd ZdZdZdZdZddZd 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 failureserrorstestsRunskippedexpectedFailuresunexpectedSuccessescollectedDurations
shouldStopbuffer tb_locals_stdout_buffer_stderr_buffersysstdout_original_stdoutstderr_original_stderr
_mirrorOutput)r streamdescriptions verbositys r __init__zTestResult.__init__&