Current File : //opt/imh-python/lib/python2.7/test/test_strop.pyc
�
��Wc@s�ddlZejdded�ddlZddlZddlZddlmZdejfd��YZ	dZ
d	d
d
��YZd�Ze
dkr�e�ndS(i����Ntignoresstrop functions are obsolete;stest.test_strop|unittest(ttest_supporttStropFunctionTestCasecBsBeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zejejdkd�d��Zejdejddd�d��Zejdejddd�d��Zejejdkd�d��ZRS(cCsL|jtjd�dk�|jttjd�|jttjd�dS(Ns 1 is 1xs x1 (t
assertTruetstroptatoitassertRaisest
ValueError(tself((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt	test_atoi
scCsL|jtjd�dk�|jttjd�|jttjd�dS(Ns 1 ls 1xs x1 (RRtatolRR(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt	test_atolscCsL|jtjd�dk�|jttjd�|jttjd�dS(Ns 1 g�?s 1xs x1 (RRtatofRR(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt	test_atofscCs<|jtjd�dk�|jtjd�dk�dS(Ns hello shello sHello (RRt
capitalize(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_capitalizescCsg|jtjdd�dk�|jtjddd�dk�|jtjddd�dk�dS(	Ntabcdefghiabctabciii	tdefii����(RRtfind(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt	test_find s"cCs#|jtjdd�dk�dS(NRRi	(RRtrfind(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt
test_rfind%scCs |jtjd�dk�dS(NtHeLLothello(RRtlower(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt
test_lower(scCs |jtjd�dk�dS(NRtHELLO(RRtupper(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt
test_upper+scCs |jtjd�dk�dS(NsHeLLo cOmpUteRsshEllO CoMPuTErS(RRtswapcase(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt
test_swapcase.scCs |jtjd�dk�dS(Ns
 	
 hello 	
 R(RRtstrip(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt
test_strip1scCs |jtjd�dk�dS(Ns
 	
 hello 	
 s	hello 	
 (RRtlstrip(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_lstrip4scCs |jtjd�dk�dS(Ns
 	
 hello 	
 s	 	
 hello(RRtrstrip(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_rstrip7scCstj}|j|dddd�dk�|j|dddd�dk�|j|dddd�d	k�|j|dddd
�d	k�|j|dddd�d	k�|j|ddd�d	k�|j|ddd�dk�|j|dddd�dk�dS(
Nsone!two!three!t!t@isone@two!three!isone@two@three!isone@two@three@iitx(RtreplaceR(RR)((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_replace:s"	






cCs{tj}|j|d�dddddgk�|j|dd�d	d
ddgk�|j|ddd
�d	d
dgk�|j|ddd�d	dgk�|j|ddd
�d	d
dgk�|j|ddd�d	d
ddgk�|j|ddd�d	d
ddgk�|j|ddd�d	d
ddgk�|j|ddd
�d	d
dgk�dS(Nsthis is the split functiontthististthetsplittfunctionsa|b|c|dt|tatbtctdisc|dsa b c disb c dsc diiis
a  b  c  dsc  d(RR.RtNone(RR.((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt
test_splitRs	((%(+++cCs�|jtjddddg�dk�|jtjd
d�dk�|jtjt��dk�|jtjd	d
gd
d�d	d
ddd	d
k�|jtjd	d
fd
d�d	d
ddd	d
k�dS(NR1R2R3R4sa b c dttabcdsw x y zR(idt:ic(R1R2R3R4(RRtjointSequence(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt	test_join_s(  cCs<|jtjdd�tk�|jttjdd�dS(NRtxyztxyzq(RRt	maketranst
transtableRR(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_maketransjscCs&|jtjdtd�dk�dS(Nt	xyzabcdefRtxyzxyz(RRt	translateR@(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_translatenscCstjtjtjdS(N(Rt	lowercaset	uppercaset
whitespace(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_data_attributesrsi���sonly for 32-bitcCs/dddd}|jttj|d�dS(Ns	
itAii(Rt
OverflowErrorRt
expandtabs(Rts((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_expandtabs_overflowwstsizeitmemuseicCs^d|}ytj||g|�}Wntk
r9n!X|jt|�t|�d�dS(NRJi(RR:RKtassertEqualtlen(RROR1tr((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_stropjoin_huge_list|s

cCs^d|}ytj||f|�}Wntk
r9n!X|jt|�t|�d�dS(NRJi(RR:RKRQRR(RROR1RS((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_stropjoin_huge_tup�s

cCs*dd}|jttj|d|�dS(NRJi(RtMemoryErrorRR)(RR1((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyttest_stropreplace_overflow�s
(t__name__t
__module__R	RR
RRRRRRR!R#R%R*R6R<RARERItunittestt
skipUnlesstsystmaxsizeRNRtprecisionbigmemtestt_2GRTRURW(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyRs,														
				$(
(
t	

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`xyzdefghijklmnopqrstuvwxyz{|}~�����������������������������������������������������������������������������������������������������������������������������R;cBs#eZd�Zd�Zd�ZRS(cCs
d|_dS(Ntwxyz(tseq(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt__init__�scCs
t|j�S(N(RRRb(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt__len__�scCs|j|S(N(Rb(Rti((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt__getitem__�s(RXRYRcRdRf(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyR;�s		cCstjt�dS(N(Rtrun_unittestR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt	test_main�st__main__((twarningstfilterwarningstDeprecationWarningRRZR\ttestRtTestCaseRR@R;RhRX(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_strop.pyt<module>s�