Server IP : 162.213.251.212 / Your IP : 3.140.196.41 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python27/lib64/python2.7/unittest/ |
Upload File : |
� �V~gc @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z e Z d � Z d Z d Z d e f d � � YZ d S( s Test result objecti����N( t StringIOi ( t util( t wrapsc s t � � � f d � � } | S( Nc s/ t | d t � r | j � n � | | | � S( Nt failfast( t getattrt Falset stop( t selft argst kw( t method( s4 /opt/alt/python27/lib64/python2.7/unittest/result.pyt inner s ( R ( R R ( ( R s4 /opt/alt/python27/lib64/python2.7/unittest/result.pyR s s Stdout: %ss Stderr: %st TestResultc B s� e Z d Z d Z e Z e Z d d d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e d � � Z e d � � Z d � Z d � Z d � Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( 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. c C s� t | _ g | _ g | _ d | _ g | _ g | _ g | _ t | _ t | _ d | _ d | _ t j | _ t j | _ t | _ d S( Ni ( R R t failurest errorst testsRunt skippedt expectedFailurest unexpectedSuccessest shouldStopt buffert Nonet _stdout_buffert _stderr_buffert syst stdoutt _original_stdoutt stderrt _original_stderrt _mirrorOutput( R t streamt descriptionst verbosity( ( s4 /opt/alt/python27/lib64/python2.7/unittest/result.pyt __init__( s c C s d S( s# Called by TestRunner after test runN( ( R ( ( s4 /opt/alt/python27/lib64/python2.7/unittest/result.pyt printErrors8 t c C s&