config root man

Current Path : /usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/test/test_enumerate.pyc

³ò
h”Rc@sRddkZddkZddklZddd„ƒYZddd„ƒYZdd d„ƒYZd	d!d
„ƒYZdd"d„ƒYZd
d#d„ƒYZ	dei
fd„ƒYZdefd„ƒYZ
defd„ƒYZdefd„ƒYZdefd„ƒYZdei
fd„ƒYZdd„ZedjoedeƒndS($iÿÿÿÿN(ttest_supporttGcBs eZdZd„Zd„ZRS(sSequence using __getitem__cCs
||_dS(N(tseqn(tselfR((s//usr/local/lib/python2.5/test/test_enumerate.pyt__init__scCs|i|S(N(R(Rti((s//usr/local/lib/python2.5/test/test_enumerate.pyt__getitem__
s(t__name__t
__module__t__doc__RR(((s//usr/local/lib/python2.5/test/test_enumerate.pyRs	tIcBs)eZdZd„Zd„Zd„ZRS(s Sequence using iterator protocolcCs||_d|_dS(Ni(RR(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyRs	cCs|S(N((R((s//usr/local/lib/python2.5/test/test_enumerate.pyt__iter__scCsF|it|iƒjo
t‚n|i|i}|id7_|S(Ni(RtlenRt
StopIteration(Rtv((s//usr/local/lib/python2.5/test/test_enumerate.pytnexts

(RRR	RRR(((s//usr/local/lib/python2.5/test/test_enumerate.pyR

s		tIgcBs eZdZd„Zd„ZRS(s9Sequence using iterator protocol defined with a generatorcCs||_d|_dS(Ni(RR(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyRs	ccsx|iD]}|Vq
WdS(N(R(Rtval((s//usr/local/lib/python2.5/test/test_enumerate.pyRs
(RRR	RR(((s//usr/local/lib/python2.5/test/test_enumerate.pyRs	tXcBs eZdZd„Zd„ZRS(s Missing __getitem__ and __iter__cCs||_d|_dS(Ni(RR(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyR%s	cCsF|it|iƒjo
t‚n|i|i}|id7_|S(Ni(RRRR
(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyR(s

(RRR	RR(((s//usr/local/lib/python2.5/test/test_enumerate.pyR#s	tEcBs)eZdZd„Zd„Zd„ZRS(sTest propagation of exceptionscCs||_d|_dS(Ni(RR(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyR0s	cCs|S(N((R((s//usr/local/lib/python2.5/test/test_enumerate.pyR3scCsdddS(Nii((R((s//usr/local/lib/python2.5/test/test_enumerate.pyR5s(RRR	RRR(((s//usr/local/lib/python2.5/test/test_enumerate.pyR.s		tNcBs eZdZd„Zd„ZRS(sIterator missing next()cCs||_d|_dS(Ni(RR(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyR:s	cCs|S(N((R((s//usr/local/lib/python2.5/test/test_enumerate.pyR=s(RRR	RR(((s//usr/local/lib/python2.5/test/test_enumerate.pyR8s	tEnumerateTestCasecBsueZeZddddgZZd„Zd„Zd	„Zd
„Z	d„Z
d„Zd
„Zd„Z
d„ZRS(tabcitaitbitccCs€|it|i|iƒƒ|iƒ|i|iƒ}|it|ƒ|ƒ|it|i|iƒƒ|iƒ|iidS(N(tassertEqualttypetenumtseqtitertlisttresR	(Rte((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_basicfunctionEs
%%cCsW|it|it|iƒƒƒ|iƒ|itdƒƒ}|it|iƒdS(Nt(	RRRRRR tassertRaisesR
R(RR!((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_getitemseqnLs+cCsW|it|it|iƒƒƒ|iƒ|itdƒƒ}|it|iƒdS(NR#(	RRRR
RR R$R
R(RR!((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_iteratorseqnQs+cCsW|it|it|iƒƒƒ|iƒ|itdƒƒ}|it|iƒdS(NR#(	RRRRRR R$R
R(RR!((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_iteratorgeneratorVs+cCs#|it|it|iƒƒdS(N(R$t	TypeErrorRRR(R((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_noniterable[scCs)|itt|it|iƒƒƒdS(N(R$R(RRRR(R((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_illformediterable^scCs)|itt|it|iƒƒƒdS(N(R$tZeroDivisionErrorRRRR(R((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_exception_propagationascCsF|it|iƒ|it|idƒ|it|iddƒdS(NiRi(R$R(R(R((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_argumentcheckdscCs|itttttt|iƒƒƒƒƒt|iƒƒ|ittttt|iƒƒƒƒtdt|iƒƒƒdS(Ni(	RRtsettmaptidRt	enumerateRtmin(R((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_tuple_reuseis=(iR(iR(iR(RRR1RRR R"R%R&R'R)R*R,R-R3(((s//usr/local/lib/python2.5/test/test_enumerate.pyR@s								tMyEnumcBseZRS((RR(((s//usr/local/lib/python2.5/test/test_enumerate.pyR4ostSubclassTestCasecBseZeZRS((RRR4R(((s//usr/local/lib/python2.5/test/test_enumerate.pyR5rst	TestEmptycBseZdgZZRS(R#(RRRR (((s//usr/local/lib/python2.5/test/test_enumerate.pyR6vstTestBigcBs/eZedddƒZeedƒeƒZRS(i
i Ni(RRtrangeRtzipR (((s//usr/local/lib/python2.5/test/test_enumerate.pyR7zstTestReversedcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsšddd„ƒY}xmdtdƒttdƒƒ|ƒtdddƒfD]5}|it|ƒddd…tt|ƒƒƒqJW|itthƒdS(	NtAcBseZd„Zd„ZRS(cSs%|djot|ƒSnt‚dS(Ni(tstrR
(RR((s//usr/local/lib/python2.5/test/test_enumerate.pyRƒs
cSsdS(Ni((R((s//usr/local/lib/python2.5/test/test_enumerate.pyt__len__‡s(RRRR=(((s//usr/local/lib/python2.5/test/test_enumerate.pyR;‚s	Riiiiÿÿÿÿ((	R8ttupleR1txrangeRRtreversedR$R((RR;tdata((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_simples
73cCs8tdƒ}|itt|ƒƒtt|ƒƒƒdS(Ni(R?RRR@R(Rtx((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_xrange_optimizationscCsÆddkl}xzdtdƒtdƒtdƒfD]T}|i|t|ƒƒ||ƒƒt|ƒ}t|ƒ|i||ƒdƒq5Wddd„ƒY}t|ƒƒ}|it||ƒdS(	Niÿÿÿÿ(RthelloiitSeqWithWeirdLencBs eZeZd„Zd„ZRS(cSs%|ipt|_dSnt‚dS(Ni
(tcalledtTrueR+(R((s//usr/local/lib/python2.5/test/test_enumerate.pyR=›s
	cSs|S(N((Rtindex((s//usr/local/lib/python2.5/test/test_enumerate.pyR s(RRtFalseRGR=R(((s//usr/local/lib/python2.5/test/test_enumerate.pyRF™s	((	ttest.test_iterlenRR>RR?RR@R$R+(RRtstrRF((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_len‘s%"
	cCs5ddd„ƒY}|ƒ}t|ƒ}||_dS(NtSeqcBseZd„Zd„ZRS(cSsdS(Ni
((R((s//usr/local/lib/python2.5/test/test_enumerate.pyR=¨scSs|S(N((RRI((s//usr/local/lib/python2.5/test/test_enumerate.pyRªs(RRR=R(((s//usr/local/lib/python2.5/test/test_enumerate.pyRO§s	((R@RM(RRORLRM((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_gc¦s	cCs*|ittƒ|ittgdƒdS(Ntextra(R$R(R@(R((s//usr/local/lib/python2.5/test/test_enumerate.pyt	test_args°scCs¥ttdƒpdSnd„}tƒ}|_ti|ƒ}xEtdƒD]7}yt|ƒWntj
oqMX|idƒqMW|i	|ti|ƒƒdS(NtgetrefcountcSsdS(N((((s//usr/local/lib/python2.5/test/test_enumerate.pytf¹si
s'non-callable __reversed__ didn't raise!(
thasattrtsystobjectt__reversed__RSR8R@R(tfailR(RRTRMtrcR((s//usr/local/lib/python2.5/test/test_enumerate.pyttest_bug1229429´s	
(RRRBRDRNRPRRR[(((s//usr/local/lib/python2.5/test/test_enumerate.pyR:s				
	cCs™tttttf}ti|Œddk}|o`t|dƒoPdgd}x7t
t|ƒƒD]#}ti|Œ|iƒ||<qeW|GHndS(Niÿÿÿÿtgettotalrefcounti(
RR5R6R7R:Rtrun_unittestRVRUtNoneR?RR\(tverbosettestclassesRVtcountsR((s//usr/local/lib/python2.5/test/test_enumerate.pyt	test_mainÇs	


t__main__R_(((((((tunittestRVttestRRR
RRRRtTestCaseRR1R4R5R6R7R:R^RbRRH(((s//usr/local/lib/python2.5/test/test_enumerate.pys<module>s"
	
/H


Man Man