ó |fc@sRddlZddlmZdejfd„ƒYZedkrNejƒndS(iÿÿÿÿN(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((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 sRt startTesttaddSkiptstopTestRcBseZd„Zd„ZRS(cSs|jdƒdS(Nttesting(R(R((s3/usr/lib64/python2.7/unittest/test/test_skipping.pytsetUpscSsdS(N((R((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyt test_nothingt(RRR R(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRs RR i(tunittesttTestCaseRtrunt assertEqualtskippedttestsRun(RRteventstresultttest((s3/usr/lib64/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((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyt test_skip%scSsdS(N((R((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyttest_dont_skip(s(RRRR((tdecotdo_skipt dont_skip(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR$sRRiR R R t addSuccessiR (Rt skipUnlesstFalsetTruetskipIfRt TestSuiteRRRtlenRRt assertTruet wasSuccessful( Rtop_tableRt test_do_skipRtsuiteRRtexpected((RRRs3/usr/lib64/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(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyttest_1;s(RRR/((R.(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR9sR/(RRRt TestResultR$RRR(RRRRR*((R.s3/usr/lib64/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.(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR/Hs(RRR/((R.(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR2FsRcBseZRS((RR(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRJsR/((RRRR0R$RRR(RR2RRRR*((R.s3/usr/lib64/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 R2cseZ‡fd†ZRS(csˆjdƒdS(Ni(R-(R(R.(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR/Ws(RRR/((R.(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR2UsRcBseZRS((RR(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRYsR/( RRtobjectRR0R$RRR(RR2RRRR*((R.s3/usr/lib64/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((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyttest_diees(RRRtexpectedFailureR7(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRdsR7R taddExpectedFailureR i(RRRRRtexpectedFailuresR&R'(RRRRR((s3/usr/lib64/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((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR7ss(RRRR8R7(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRrsR7R taddUnexpectedSuccessR ( RRRRRt assertFalsetfailurestunexpectedSuccessesR&R'(RRRRR((s3/usr/lib64/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(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR „scs tˆ_dS(N(R"t wasTornDown(R(R(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyttornDown†sR cSsdS(N((R((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR/ˆs( RRR!RARBR RCRRR/((R(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRs R/R ( RRR0R$RRRR=RARB(RRRR*((Rs3/usr/lib64/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(s3/usr/lib64/python2.7/unittest/test/test_skipping.pytinner–s((RFRG((RFs3/usr/lib64/python2.7/unittest/test/test_skipping.pyt decorator•sRcs&eZˆejdƒd„ƒƒZRS(R cSsdS(N((R((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyR/›s(RRRRR/((RH(s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRšsR/R (RRR0R$RRR(RRRRR*((RHs3/usr/lib64/python2.7/unittest/test/test_skipping.pyttest_decorated_skip”s    ( RRRR,R1R3R5R;R@RDRI(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyRs       t__main__(Rtunittest.test.supportRRRRtmain(((s3/usr/lib64/python2.7/unittest/test/test_skipping.pyts ¡