%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/unittest/test/ |
Current File : //usr/local/lib/python2.7/unittest/test/test_skipping.pyc |
ó Pêáac @ 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ÿÿÿÿN( 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( ( s7 /usr/local/lib/python2.7/unittest/test/test_skipping.pyt test_skip_me s ( t __name__t __module__R ( ( ( s7 /usr/local/lib/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 ( ( s7 /usr/local/lib/python2.7/unittest/test/test_skipping.pyt setUp s c S s d S( N( ( R ( ( s7 /usr/local/lib/python2.7/unittest/test/test_skipping.pyt test_nothing t ( R R R R ( ( ( s7 /usr/local/lib/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( ( s7 /usr/local/lib/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 ( ( s7 /usr/local/lib/python2.7/unittest/test/test_skipping.pyt test_skip% s c S s d S( N( ( R ( ( s7 /usr/local/lib/python2.7/unittest/test/test_skipping.pyt test_dont_skip( s ( R R R R ( ( t decot do_skipt dont_skip( s7 /usr/local/lib/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 s7 /usr/local/lib/python2.7/unittest/test/test_skipping.pyt test_skipping_decorators s"