ok
Direktori : /usr/lib64/python2.7/unittest/test/ |
Current File : //usr/lib64/python2.7/unittest/test/test_skipping.pyo |
� `цdc @ sR d d l Z d d l m Z d e j f d � � YZ e d k rN e j � n d S( i����Ni ( t LoggingResultt Test_TestSkippingc B sY e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s d t j f d � � Y} g } t | � } | d � } | j | � | j | d d d g � | j | j | d f g � d t j f d � � Y} g } t | � } | d � } | j | � | j | d d d g � | j | j | d f g � | j | j d � d S( Nt Fooc B s e Z d � Z RS( c S s | j d � d S( Nt skip( t skipTest( t self( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt test_skip_me s ( t __name__t __module__R ( ( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyR s R t startTestt addSkipt stopTestR c B s e Z d � Z d � Z RS( c S s | j d � d S( Nt testing( R ( R ( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt setUp s c S s d S( N( ( R ( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt test_nothing s ( R R R R ( ( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyR s R R i ( t unittestt TestCaseR t runt assertEqualt skippedt testsRun( R R t eventst resultt test( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt test_skipping s c s6 t j t t f t j t t f f } x| D]\ � � � d t j f � � � f d � � Y} | d � } | d � } t j | | g � } g } t | � } | j | � | j t | j � d � d d d d d d g } | j | | � | j | j d � | j | j | d f g � | j | j � � q+ Wd S( NR c s8 e Z � � d � d � � Z � � d � d � � Z RS( R c S s d S( N( ( R ( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt test_skip% s c S s d S( N( ( R ( ( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt test_dont_skip( s ( R R R R ( ( t decot do_skipt dont_skip( s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyR $ s R R i R R R t addSuccessi R ( R t skipUnlesst Falset Truet skipIfR t TestSuiteR R R t lenR R t assertTruet wasSuccessful( R t op_tableR t test_do_skipR t suiteR R t expected( ( R R R s3 /usr/lib64/python2.7/unittest/test/test_skipping.pyt test_skipping_decorators s"