Your IP : 3.135.241.191


Current Path : /lib64/python2.7/unittest/test/
Upload File :
Current File : //lib64/python2.7/unittest/test/test_skipping.pyo

�
|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(tunittesttTestCaseRtruntassertEqualtskippedttestsRun(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|dfg�|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
Rt
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
cCs�dtjfd��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	taddExpectedFailureRi(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(
RRRRRtassertFalsetfailurestunexpectedSuccessesR&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"twasTornDown(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.pyR�s
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.pyt<module>s�

?>