ok
Direktori : /usr/lib64/python2.7/unittest/test/ |
Current File : //usr/lib64/python2.7/unittest/test/test_runner.pyc |
� |fc @ s� d d l Z d d l m Z d d l Z d d l m Z m Z d e j f d � � YZ d e j f d � � YZ e d k r� e j � n d S( i����N( t StringIO( t LoggingResultt# ResultWithNoStartTestRunStopTestRunt TestCleanUpc B s, e Z d � Z d � Z d � Z d � Z RS( c s d t j f d � � Y} | d � } | j | j g � g � � f d � } � f d � } | j | d d d d d d d �| j | � | j | j | d t d d d d � f | d i f g � | j � } | j | � | j � d d i f d d t d d d d � f g � d S( Nt TestableTestc B s e Z d � Z RS( c S s d S( N( ( t self( ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyt testNothing s ( t __name__t __module__R ( ( ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyR s R c s � j d | | f � d S( Ni ( t append( t argst kwargs( t cleanups( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyt cleanup1 s c s � j d | | f � d S( Ni ( R ( R R ( R ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyt cleanup2 s i i i t fourt hellot fivet goodbye( i i i ( ( ( i i i ( t unittestt TestCaset assertEqualt _cleanupst addCleanupt dictt doCleanupst assertTrue( R R t testR R t result( ( R s1 /usr/lib64/python2.7/unittest/test/test_runner.pyt testCleanUp s " c s+ d t j f d � � Y} d t f d � � Y} | � } | d � } | | _ t d � � t d � � � f d � } � f d � } | j | � | j | � | j | j � � t | j � \ \ } \ } } } \ } \ } } } | j | | | f | t � f � | j | | | f | t � f � d S( NR c B s e Z d � Z RS( c S s d S( N( ( R ( ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyR + s ( R R R ( ( ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyR * s t MockResultc B s e Z g Z d � Z RS( c S s | j j | | f � d S( N( t errorsR ( R R t exc_info( ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyt addError0 s ( R R R R! ( ( ( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyR . s R t foot barc s � � d S( N( ( ( t exc1( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyR 9 s c s � � d S( N( ( ( t exc2( s1 /usr/lib64/python2.7/unittest/test/test_runner.pyR <