ó û^‚Rc@sRddlZddlmZdejfd„ƒYZedkrNejƒndS(iÿÿÿÿNi(t LoggingResulttTest_TestSkippingcBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( cCs dtjfd„ƒY}g}t|ƒ}|dƒ}|j|ƒ|j|dddgƒ|j|j|dfgƒdtjfd„ƒY}g}t|ƒ}|d ƒ}|j|ƒ|j|dddgƒ|j|j|d fgƒ|j|jd ƒdS( NtFoocBseZd„ZRS(cSs|jdƒdS(Ntskip(tskipTest(tself((s1/usr/lib/python2.7/unittest/test/test_skipping.pyt test_skip_me s(t__name__t __module__R(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyR sRt startTesttaddSkiptstopTestRcBseZd„Zd„ZRS(cSs|jdƒdS(Nttesting(R(R((s1/usr/lib/python2.7/unittest/test/test_skipping.pytsetUpscSsdS(N((R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyt test_nothings(RRR R(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyRs RR i(tunittesttTestCaseRtrunt assertEqualtskippedttestsRun(RRteventstresultttest((s1/usr/lib/python2.7/unittest/test/test_skipping.pyt test_skippings      c s6tjttftjttff}x |D]\‰‰‰dtjf‡‡‡fd†ƒY}|dƒ}|dƒ}tj||gƒ}g}t|ƒ}|j|ƒ|j t |j ƒdƒddddd dg}|j ||ƒ|j |j d ƒ|j |j |d fgƒ|j |jƒƒq+WdS( NRcs8eZˆˆdƒd„ƒZˆˆdƒd„ƒZRS(R cSsdS(N((R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyt test_skip%scSsdS(N((R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_dont_skip(s(RRRR((tdecotdo_skipt dont_skip(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR$sRRiR R R t addSuccessiR (Rt skipUnlesstFalsetTruetskipIfRt TestSuiteRRRtlenRRt assertTruet wasSuccessful( Rtop_tableRt test_do_skipRtsuiteRRtexpected((RRRs1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_skipping_decorators s"%     cs›tjdƒdtjf‡fd†ƒYƒ}g‰tjƒ}|dƒ}tj|gƒ}|j|ƒ|j|j|dfgƒ|jˆgƒdS(NR RcseZ‡fd†ZRS(csˆjdƒdS(Ni(tappend(R(trecord(s1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_1;s(RRR.((R-(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR9sR.(RRRt TestResultR#RRR(RRRRR)((R-s1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_skip_class8s   cs±tjdƒdd‡fd†ƒYƒ}d|tjfd„ƒY}g‰tjƒ}|dƒ}tj|gƒ}|j|ƒ|j|j|dfgƒ|jˆgƒdS(NR tMixincseZ‡fd†ZRS(csˆjdƒdS(Ni(R,(R(R-(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR.Hs(RRR.((R-(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR1FsRcBseZRS((RR(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyRJsR.((RRRR/R#RRR(RR1RRRR)((R-s1/usr/lib/python2.7/unittest/test/test_skipping.pyt&test_skip_non_unittest_class_old_styleEs(   cs´tjdƒdtf‡fd†ƒYƒ}d|tjfd„ƒY}g‰tjƒ}|dƒ}tj|gƒ}|j|ƒ|j|j|dfgƒ|jˆgƒdS(NR R1cseZ‡fd†ZRS(csˆjdƒdS(Ni(R,(R(R-(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR.Ws(RRR.((R-(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR1UsRcBseZRS((RR(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyRYsR.( RRtobjectRR/R#RRR(RR1RRRR)((R-s1/usr/lib/python2.7/unittest/test/test_skipping.pyt&test_skip_non_unittest_class_new_styleTs   cCsdtjfd„ƒY}g}t|ƒ}|dƒ}|j|ƒ|j|dddgƒ|j|jdd|ƒ|j|jƒƒdS(NRcBseZejd„ƒZRS(cSs|jdƒdS(Nshelp me!(tfail(R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_diees(RRRtexpectedFailureR6(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyRdsR6R taddExpectedFailureR i(RRRRRtexpectedFailuresR%R&(RRRRR((s1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_expected_failurecs    cCsšdtjfd„ƒY}g}t|ƒ}|dƒ}|j|ƒ|j|dddgƒ|j|jƒ|j|j|gƒ|j|j ƒƒdS(NRcBseZejd„ƒZRS(cSsdS(N((R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyR6ss(RRRR7R6(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyRrsR6R taddUnexpectedSuccessR ( RRRRRt assertFalsetfailurestunexpectedSuccessesR%R&(RRRRR((s1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_unexpected_successqs    cs–dtjf‡fd†ƒY‰tjƒ}ˆdƒ}tj|gƒ}|j|ƒ|j|j|dfgƒ|jˆjƒ|jˆj ƒdS(NRcsJeZeZeZ‡fd†Z‡fd†Zejdƒd„ƒZ RS(cs tˆ_dS(N(R!twasSetUp(R(R(s1/usr/lib/python2.7/unittest/test/test_skipping.pyR „scs tˆ_dS(N(R!t wasTornDown(R(R(s1/usr/lib/python2.7/unittest/test/test_skipping.pyttornDown†sR cSsdS(N((R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyR.ˆs( RRR R@RAR RBRRR.((R(s1/usr/lib/python2.7/unittest/test/test_skipping.pyRs R.R ( RRR/R#RRRR<R@RA(RRRR)((Rs1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_skip_doesnt_run_setup€s   csd„‰dtjf‡fd†ƒY}tjƒ}|dƒ}tj|gƒ}|j|ƒ|j|j|dfgƒdS(Ncs‡fd†}|S(Ncs ˆ|ŒS(N((ta(tfunc(s1/usr/lib/python2.7/unittest/test/test_skipping.pytinner–s((RERF((REs1/usr/lib/python2.7/unittest/test/test_skipping.pyt decorator•sRcs&eZˆejdƒd„ƒƒZRS(R cSsdS(N((R((s1/usr/lib/python2.7/unittest/test/test_skipping.pyR.›s(RRRRR.((RG(s1/usr/lib/python2.7/unittest/test/test_skipping.pyRšsR.R (RRR/R#RRR(RRRRR)((RGs1/usr/lib/python2.7/unittest/test/test_skipping.pyttest_decorated_skip”s    ( RRRR+R0R2R4R:R?RCRH(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyRs       t__main__(RtsupportRRRRtmain(((s1/usr/lib/python2.7/unittest/test/test_skipping.pyts ¡