$77 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python27/lib64/python2.7/unittest/

HOME
Current File : /opt/alt/python27/lib64/python2.7/unittest//result.pyo
�
�V~gc@s�dZddlZddlZddlZddlmZddlmZddlmZe	Z
d�ZdZd	Z
d
efd��YZdS(sTest result objecti����N(tStringIOi(tutil(twrapscst���fd��}|S(Ncs/t|dt�r|j�n�|||�S(Ntfailfast(tgetattrtFalsetstop(tselftargstkw(tmethod(s4/opt/alt/python27/lib64/python2.7/unittest/result.pytinners
(R(R
R((R
s4/opt/alt/python27/lib64/python2.7/unittest/result.pyRss
Stdout:
%ss
Stderr:
%st
TestResultcBs�eZdZdZeZeZdddd�Zd�Z	d�Z
d�Zd�Zd�Z
d�Zd�Zed	��Zed
��Zd�Zd�Zd
�Zed��Zd�Zd�Zd�Zd�Zd�Zd�ZRS(s�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.
    cCs�t|_g|_g|_d|_g|_g|_g|_t|_t|_	d|_d|_t
j|_t
j|_t|_dS(Ni(RRtfailuresterrorsttestsRuntskippedtexpectedFailurestunexpectedSuccessest
shouldStoptbuffertNonet_stdout_buffert_stderr_buffertsyststdoutt_original_stdouttstderrt_original_stderrt
_mirrorOutput(Rtstreamtdescriptionst	verbosity((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt__init__(s											cCsdS(s#Called by TestRunner after test runN((R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytprintErrors8tcCs&|jd7_t|_|j�dS(s-Called when the given test is about to be runiN(RRRt_setupStdout(Rttest((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt	startTest;s	cCsR|jrN|jdkr3t�|_t�|_n|jt_|jt_ndS(N(RRRRRRRR(R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyR$As	cCsdS(spCalled once before any tests are executed.

        See startTest for a method called before each test.
        N((R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytstartTestRunIR#cCs|j�t|_dS(s'Called when the given test has been runN(t_restoreStdoutRR(RR%((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytstopTestOs
cCs�|jr�|jr�tjj�}tjj�}|ri|jd�sR|d7}n|jjt	|�n|r�|jd�s�|d7}n|j
jt|�q�n|jt_|j
t_|jj
d�|jj�|jj
d�|jj�ndS(Ns
i(RRRRtgetvalueRtendswithRtwritetSTDOUT_LINERtSTDERR_LINERtseekttruncateR(Rtoutputterror((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyR(Ts$		


cCsdS(smCalled once after all tests are executed.

        See stopTest for a method called after each test.
        N((R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytstopTestRuniR#cCs/|jj||j||�f�t|_dS(smCalled when an error has occurred. 'err' is a tuple of values as
        returned by sys.exc_info().
        N(Rtappendt_exc_info_to_stringtTrueR(RR%terr((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytaddErroros"cCs/|jj||j||�f�t|_dS(sdCalled when an error has occurred. 'err' is a tuple of values as
        returned by sys.exc_info().N(R
R4R5R6R(RR%R7((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt
addFailurews"cCsdS(s-Called when a test has completed successfullyN((RR%((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt
addSuccess~scCs|jj||f�dS(sCalled when a test is skipped.N(RR4(RR%treason((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytaddSkip�scCs&|jj||j||�f�dS(s/Called when an expected failure/error occurred.N(RR4R5(RR%R7((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytaddExpectedFailure�s	cCs|jj|�dS(s5Called when a test was expected to fail, but succeed.N(RR4(RR%((s4/opt/alt/python27/lib64/python2.7/unittest/result.pytaddUnexpectedSuccess�scCs*t|j�t|j�ko'dkSS(s.Tells whether or not this result was a successi(tlenR
R(R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt
wasSuccessful�scCs
t|_dS(s*Indicates that the tests should be abortedN(R6R(R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyR�sc
Cs%|\}}}x"|r3|j|�r3|j}qW||jkrm|j|�}tj||||�}ntj|||�}|jrtjj	�}tj
j	�}	|r�|jd�s�|d7}n|jt
|�n|	r|	jd�s|	d7}	n|jt|	�qndj|�S(s>Converts a sys.exc_info()-style tuple of values into a string.s
R#(t_is_relevant_tb_levelttb_nexttfailureExceptiont_count_relevant_tb_levelst	tracebacktformat_exceptionRRRR*RR+R4R-R.tjoin(
RR7R%texctypetvaluettbtlengthtmsgLinesR1R2((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyR5�s&
	

cCsd|jjkS(Nt
__unittest(ttb_framet	f_globals(RRJ((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyRA�scCs:d}x-|r5|j|�r5|d7}|j}q	W|S(Nii(RARB(RRJRK((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyRD�s


cCs5dtj|j�|jt|j�t|j�fS(Ns!<%s run=%i errors=%i failures=%i>(Rtstrclasst	__class__RR?RR
(R((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt__repr__�s!N(t__name__t
__module__t__doc__Rt_previousTestClassRt_testRunEnteredt_moduleSetUpFailedR!R"R&R$R'R)R(R3RR8R9R:R<R=R>R@RR5RARDRR(((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyRs0
															(RUtosRRERR#Rt	functoolsRR6RMRR-R.tobjectR(((s4/opt/alt/python27/lib64/python2.7/unittest/result.pyt<module>s	


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 Jan 2025 9.37 AM
root / linksafe
0755
test
--
24 Jan 2025 9.35 AM
root / linksafe
0755
__init__.py
2.717 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyc
2.979 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyo
2.979 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__main__.py
0.232 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__main__.pyc
0.489 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__main__.pyo
0.489 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
case.py
42.953 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
case.pyc
41.882 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
case.pyo
41.882 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
loader.py
13.181 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
loader.pyc
11.389 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
loader.pyo
11.252 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
main.py
8.87 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
main.pyc
7.923 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
main.pyo
7.923 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
result.py
6.16 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
result.pyc
8.044 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
result.pyo
8.044 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
runner.py
6.38 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
runner.pyc
7.719 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
runner.pyo
7.719 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
signals.py
2.354 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
signals.pyc
2.843 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
signals.pyo
2.843 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
suite.py
9.579 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
suite.pyc
10.735 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
suite.pyo
10.735 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.py
4.498 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.pyc
4.514 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.pyo
4.514 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF