%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_strop.pyo

ó
Nêáac@s®ddlZejddedƒddlZddlZddlmZejdƒZdej	fd„ƒYZ
d	Zd
dd„ƒYZd„Z
ed
krªe
ƒndS(iÿÿÿÿNtignoresstrop functions are obsolete;stest.test_strop|unittest(ttest_supporttstroptStropFunctionTestCasecBsBeZd„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
assertTrueRtatoitassertRaisest
ValueError(tself((s+/usr/local/lib/python2.7/test/test_strop.pyt	test_atoiscCsL|jtjdƒdkƒ|jttjdƒ|jttjdƒdS(Ns 1 ls 1xs x1 (RRtatolRR(R((s+/usr/local/lib/python2.7/test/test_strop.pyt	test_atolscCsL|jtjdƒdkƒ|jttjdƒ|jttjdƒdS(Ns 1 gð?s 1xs x1 (RRtatofRR(R((s+/usr/local/lib/python2.7/test/test_strop.pyt	test_atofscCs<|jtjdƒdkƒ|jtjdƒdkƒdS(Ns hello shello sHello (RRt
capitalize(R((s+/usr/local/lib/python2.7/test/test_strop.pyttest_capitalizescCsg|jtjddƒdkƒ|jtjdddƒdkƒ|jtjdddƒdkƒdS(	Ntabcdefghiabctabciii	tdefiiÿÿÿÿ(RRtfind(R((s+/usr/local/lib/python2.7/test/test_strop.pyt	test_find!s"cCs#|jtjddƒdkƒdS(NRRi	(RRtrfind(R((s+/usr/local/lib/python2.7/test/test_strop.pyt
test_rfind&scCs |jtjdƒdkƒdS(NtHeLLothello(RRtlower(R((s+/usr/local/lib/python2.7/test/test_strop.pyt
test_lower)scCs |jtjdƒdkƒdS(NRtHELLO(RRtupper(R((s+/usr/local/lib/python2.7/test/test_strop.pyt
test_upper,scCs |jtjdƒdkƒdS(NsHeLLo cOmpUteRsshEllO CoMPuTErS(RRtswapcase(R((s+/usr/local/lib/python2.7/test/test_strop.pyt
test_swapcase/scCs |jtjdƒdkƒdS(Ns
 	
 hello 	
 R(RRtstrip(R((s+/usr/local/lib/python2.7/test/test_strop.pyt
test_strip2scCs |jtjdƒdkƒdS(Ns
 	
 hello 	
 s	hello 	
 (RRtlstrip(R((s+/usr/local/lib/python2.7/test/test_strop.pyttest_lstrip5scCs |jtjdƒdkƒdS(Ns
 	
 hello 	
 s	 	
 hello(RRtrstrip(R((s+/usr/local/lib/python2.7/test/test_strop.pyttest_rstrip8scCstj}|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)((s+/usr/local/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.((s+/usr/local/lib/python2.7/test/test_strop.pyt
test_splitSs	((%(+++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((s+/usr/local/lib/python2.7/test/test_strop.pyt	test_join`s(  cCs<|jtjddƒtkƒ|jttjddƒdS(NRtxyztxyzq(RRt	maketranst
transtableRR(R((s+/usr/local/lib/python2.7/test/test_strop.pyttest_maketranskscCs&|jtjdtdƒdkƒdS(Nt	xyzabcdefRtxyzxyz(RRt	translateR@(R((s+/usr/local/lib/python2.7/test/test_strop.pyttest_translateoscCstjtjtjdS(N(Rt	lowercaset	uppercaset
whitespace(R((s+/usr/local/lib/python2.7/test/test_strop.pyttest_data_attributesssiÿÿÿsonly for 32-bitcCs/dddd}|jttj|dƒdS(Ns	
itAii(Rt
OverflowErrorRt
expandtabs(Rts((s+/usr/local/lib/python2.7/test/test_strop.pyttest_expandtabs_overflowxstsizeitmemuseicCs^d|}ytj||g|ƒ}Wntk
r9n!X|jt|ƒt|ƒdƒdS(NRJi(RR:RKtassertEqualtlen(RROR1tr((s+/usr/local/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((s+/usr/local/lib/python2.7/test/test_strop.pyttest_stropjoin_huge_tup‡s

cCs*dd}|jttj|d|ƒdS(NRJi(RtMemoryErrorRR)(RR1((s+/usr/local/lib/python2.7/test/test_strop.pyttest_stropreplace_overflow‘s
(t__name__t
__module__R	RR
RRRRRRR!R#R%R*R6R<RARERItunittestt
skipUnlesstsystmaxsizeRNRtprecisionbigmemtestt_2GRTRURW(((s+/usr/local/lib/python2.7/test/test_strop.pyRs,														
				$(
(
s	

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`xyzdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿR;cBs#eZd„Zd„Zd„ZRS(cCs
d|_dS(Ntwxyz(tseq(R((s+/usr/local/lib/python2.7/test/test_strop.pyt__init__›R7cCs
t|jƒS(N(RRRa(R((s+/usr/local/lib/python2.7/test/test_strop.pyt__len__œR7cCs|j|S(N(Ra(Rti((s+/usr/local/lib/python2.7/test/test_strop.pyt__getitem__R7(RXRYRbRcRe(((s+/usr/local/lib/python2.7/test/test_strop.pyR;šs		cCstjtƒdS(N(Rtrun_unittestR(((s+/usr/local/lib/python2.7/test/test_strop.pyt	test_main st__main__((twarningstfilterwarningstDeprecationWarningRZR\ttestRt
import_moduleRtTestCaseRR@R;RgRX(((s+/usr/local/lib/python2.7/test/test_strop.pyt<module>sŠ	

Zerion Mini Shell 1.0