config root man

Current Path : /compat/linux/proc/self/root/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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_iter.pyo

³ò
h”Rc@sïddkZddklZlZlZlZdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfdddfgZdfd„ƒYZdfd	„ƒYZd
fd„ƒYZ	dei
fd
„ƒYZ
d„ZedjoeƒndS(iÿÿÿÿN(trun_unittesttTESTFNtunlinkthave_unicodeiiitBasicIterClasscBseZd„Zd„ZRS(cCs||_d|_dS(Ni(tnti(tselfR((s*/usr/local/lib/python2.5/test/test_iter.pyt__init__s	cCs4|i}||ijo
t‚n|d|_|S(Ni(RRt
StopIteration(Rtres((s*/usr/local/lib/python2.5/test/test_iter.pytnexts
	

(t__name__t
__module__RR(((s*/usr/local/lib/python2.5/test/test_iter.pyRs	tIteratingSequenceClasscBseZd„Zd„ZRS(cCs
||_dS(N(R(RR((s*/usr/local/lib/python2.5/test/test_iter.pyR!scCs
t|iƒS(N(RR(R((s*/usr/local/lib/python2.5/test/test_iter.pyt__iter__#s(RR
RR(((s*/usr/local/lib/python2.5/test/test_iter.pyR s	t
SequenceClasscBseZd„Zd„ZRS(cCs
||_dS(N(R(RR((s*/usr/local/lib/python2.5/test/test_iter.pyR'scCs3d|jo
|ijno|Snt‚dS(Ni(Rt
IndexError(RR((s*/usr/local/lib/python2.5/test/test_iter.pyt__getitem__)s!(RR
RR(((s*/usr/local/lib/python2.5/test/test_iter.pyR&s	tTestCasecBs×eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zeo
d„Znd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d„Z"d „Z#d!„Z$ep
d"„Z$nd#„Z%d$„Z&d%„Z'd&„Z(d'„Z)d(„Z*d)„Z+d*„Z,d+„Z-d,„Z.d-„Z/d.„Z0d/„Z1d0„Z2RS(1cCsTg}x7y|iƒ}Wntj
oPnX|i|ƒq	|i||ƒdS(N(RR	tappendtassertEqual(RtittseqR
tval((s*/usr/local/lib/python2.5/test/test_iter.pytcheck_iterator4scCs8g}x|D]}|i|ƒq
W|i||ƒdS(N(RR(RtexprRR
R((s*/usr/local/lib/python2.5/test/test_iter.pytcheck_for_loop?s
cCs&|ittdƒƒtdƒƒdS(Ni
(Rtitertrange(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_basicFscCs;tdƒ}t|ƒ}t|ƒ}|i||jƒdS(Ni
(RRtassert_(RRRtit2((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_idempotencyJscCs&|ittdƒƒtdƒƒdS(Ni
(RRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_for_loopQscCstdƒ}g}xXt|ƒD]J}xAt|ƒD]3}x*t|ƒD]}|i|||fƒqEWq2WqW|i|tƒdS(Ni(RRRRtTRIPLETS(RRR
Rtjtk((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_independenceUs


"cCsvtdƒ}g}t|ƒD]<}t|ƒD])}t|ƒD]}||||fq=q-q~}|i|tƒdS(Ni(RRRR#(RRt_[1]RR$R%R
((s*/usr/local/lib/python2.5/test/test_iter.pyttest_nested_comprehensions_iter_sOcCsdtdƒ}g}|D]0}|D]#}|D]}||||fq+q!q~}|i|tƒdS(Ni(RRR#(RRR'RR$R%R
((s*/usr/local/lib/python2.5/test/test_iter.pyttest_nested_comprehensions_forfsDcCs |itdƒtdƒƒdS(Ni
(RRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_class_forlscCs&|ittdƒƒtdƒƒdS(Ni
(RRRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_class_iterpscCs |itdƒtdƒƒdS(Ni
(RRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_seq_class_fortscCs&|ittdƒƒtdƒƒdS(Ni
(RRRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_seq_class_iterxscCs9ddd„ƒY}|it|ƒdƒtdƒƒdS(NtCcBseZd„Zd„ZRS(cSs
d|_dS(Ni(R(R((s*/usr/local/lib/python2.5/test/test_iter.pyR~scSs1|i}|d|_|djo
t‚n|S(Niid(RR(RR((s*/usr/local/lib/python2.5/test/test_iter.pyt__call__€s
	


(RR
RR/(((s*/usr/local/lib/python2.5/test/test_iter.pyR.}s	i
((RRR(RR.((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_callable|s	cCs2dgd„}|it|dƒtdƒƒdS(NicSs|d}|d|d<|S(Nii((tstateR((s*/usr/local/lib/python2.5/test/test_iter.pytspamŠs
i
(RRR(RR2((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_function‰scCs2dgd„}|it|dƒtdƒƒdS(NicSs3|d}|djo
t‚n|d|d<|S(Nii
i(R	(R1R((s*/usr/local/lib/python2.5/test/test_iter.pyR2’s



ii
(RRR(RR2((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_function_stop‘scCs}dgd„}g}y+x$t|dƒD]}|i|ƒq(WWn)tj
o|i|tdƒƒnX|idƒdS(NicSs3|d}|d|d<|djo
t‚n|S(Niii
(tRuntimeError(R1R((s*/usr/local/lib/python2.5/test/test_iter.pyR2œs



ii
sshould have raised RuntimeError(RRR5RRtfail(RR2R
tx((s*/usr/local/lib/python2.5/test/test_iter.pyttest_exception_function›scCsdtfd„ƒY}g}y(x!|dƒD]}|i|ƒq,WWn)tj
o|i|tdƒƒnX|idƒdS(NtMySequenceClasscBseZd„ZRS(cSs'|djo
t‚nti||ƒS(Ni
(R5RR(RR((s*/usr/local/lib/python2.5/test/test_iter.pyR®s

(RR
R(((s*/usr/local/lib/python2.5/test/test_iter.pyR9­sii
sshould have raised RuntimeError(RRR5RRR6(RR9R
R7((s*/usr/local/lib/python2.5/test/test_iter.pyttest_exception_sequence¬s
cCs6dtfd„ƒY}|i|dƒtdƒƒdS(NR9cBseZd„ZRS(cSs'|djo
t‚nti||ƒS(Ni
(R	RR(RR((s*/usr/local/lib/python2.5/test/test_iter.pyR¾s

(RR
R(((s*/usr/local/lib/python2.5/test/test_iter.pyR9½sii
(RRR(RR9((s*/usr/local/lib/python2.5/test/test_iter.pyttest_stop_sequence¼scCs&|ittdƒƒtdƒƒdS(Ni'(RRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_big_rangeÅscCs|itgƒgƒdS(N(RR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_emptyÉscCs |itdƒtdƒƒdS(
Niiiiiiiiii	i
(
iiiiiiiiii	(RRR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_tupleÍscCs&|ittdƒƒtdƒƒdS(Ni
(RRtxrangeR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_xrangeÑscCs)|itdƒdddddgƒdS(Ntabcdetatbtctdte(RR(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_stringÕscCsM|ittdƒƒtdƒtdƒtdƒtdƒtdƒgƒdS(NRARBRCRDRERF(RRtunicode(R((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_unicodeÚscCsAh}xtdƒD]}d||<qW|i||iƒƒdS(Ni
(RtNoneRtkeys(RtdictR((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_dictàs

cCsÁttdƒ}z,x%tdƒD]}|id|ƒqWWd|iƒXttdƒ}z3|i|ddddd	gƒ|i|gƒWd|iƒyttƒWntj
onXXdS(
Ntwis%d
trs0
s1
s2
s3
s4
(topenRRtwritetcloseRRtOSError(RtfR((s*/usr/local/lib/python2.5/test/test_iter.pyttest_iter_fileçs

cCsÑ|ittdƒƒtdƒƒ|ittdƒƒgƒ|itdƒgƒ|ittdddƒƒtdddƒƒhdd<dd<d	d
<}|it|ƒ|iƒƒ|itttƒ|ittdƒttdƒ}z,x%tdƒD]}|i	d
|ƒqWWd|i
ƒXttdƒ}z^|it|ƒdddddgƒ|iddƒ|it|ƒdddddgƒWd|i
ƒyttƒWnt
j
onXXdS(Niii
iÿÿÿÿitoneittwoitthreei*RNs%d
ROs0
s1
s2
s3
s4
((RtlistRRRKtassertRaisest	TypeErrorRPRRQRRtseekRRS(RRERTR((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_listús2".!
%
cCs±|ittdƒƒdƒ|ittdƒƒdƒ|itgƒdƒ|itdƒdƒ|itdƒdƒhdd<dd<dd
<}|it|ƒt|iƒƒƒ|itttƒ|ittdƒttdƒ}z,x%t	dƒD]}|i
d|ƒqWWd|iƒXttdƒ}z@|it|ƒdƒ|iddƒ|it|ƒdƒWd|iƒyt
tƒWntj
onXXdS(NiiiiiitabcRBRCRDRVRWRXi*RNs%d
ROs0
s1
s2
s3
s4
(iiiii(((((RBRCRD(s0
s1
s2
s3
s4
(s0
s1
s2
s3
s4
(RttupleRRKRZR[RYRPRRRQRRR\RRS(RRERTR((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_tuples4!"

cCs‰|itdtdƒƒtddƒƒ|itdtdƒƒgƒ|itddƒdƒ|itddƒdƒhdd<dd<dd	<}|itd|ƒ|iƒƒ|ittdtƒ|ittdd
ƒddd„ƒY}|dƒ}|dƒ}d
dd„ƒY}|||gdŒ}|itd„|ƒ|gdƒ|itd„t	|ƒƒ|gdƒdS(NiiiR^RViRWiRXi*tBooleancBseZd„Zd„ZRS(cSs
||_dS(N(ttruth(RRb((s*/usr/local/lib/python2.5/test/test_iter.pyRHscSs|iS(N(Rb(R((s*/usr/local/lib/python2.5/test/test_iter.pyt__nonzero__Js(RR
RRc(((s*/usr/local/lib/python2.5/test/test_iter.pyRaGs	tSeqcBseZd„Zd„ZRS(cWs
||_dS(N(tvals(Rtargs((s*/usr/local/lib/python2.5/test/test_iter.pyRPscSs ddd„ƒY}||iƒS(NtSeqItercBs#eZd„Zd„Zd„ZRS(cSs||_d|_dS(Ni(ReR(RRe((s*/usr/local/lib/python2.5/test/test_iter.pyRTs	cSs|S(N((R((s*/usr/local/lib/python2.5/test/test_iter.pyRWscSsE|i}|d|_|t|iƒjo|i|Snt‚dS(Ni(RtlenReR	(RR((s*/usr/local/lib/python2.5/test/test_iter.pyRYs
	
(RR
RRR(((s*/usr/local/lib/python2.5/test/test_iter.pyRgSs		((Re(RRg((s*/usr/local/lib/python2.5/test/test_iter.pyRRs
(RR
RR(((s*/usr/local/lib/python2.5/test/test_iter.pyRdOs	icSs|S(((R7((s*/usr/local/lib/python2.5/test/test_iter.pyt<lambda>cscSs|S(((R7((s*/usr/local/lib/python2.5/test/test_iter.pyRids(((((
RtfilterRJRRRKRZR[RYR(RRERatbTruetbFalseRdR((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_filter;s(!#cCsÂ|ittdƒƒdƒ|ittdƒƒdƒ|itddƒdƒ|itddƒdƒhdd<dd	<d
d<}|it|ƒd	ƒ|it|ƒdƒ|it|iƒƒd
ƒ|itt|iƒƒƒdƒttdƒ}z+|id
ƒ|idƒ|idƒWd|i	ƒXttdƒ}z@|it|ƒdƒ|i
ddƒ|it|ƒdƒWd|i	ƒyttƒWntj
onXXdS(NiiiiiÿÿÿÿiRViRWiRXRNsmedium line
sxtra large line
sitty-bitty line
RO(
RtmaxRtmint
itervaluesRRPRRQRRR\RRS(RRERT((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_max_mings2!"


cCs|itdtdƒƒtdƒƒ|itd„tdƒƒtddƒƒhdd<dd<dd	<}|itd|ƒ|iƒƒ|it|d
„|ƒ|iƒƒ|iƒ}g}tdƒD]R}||t|ƒjo||pd||t|ƒjo||pdfqÒ~}|itd|tdƒt|i	ƒƒƒ|ƒt
tdƒ}z0x)tdƒD]}|id
|dƒq}WWd|i
ƒXt
tdƒ}z)|itt|ƒtdddƒƒWd|i
ƒyttƒWntj
onXXdS(NicSs|dS(i((R7((s*/usr/local/lib/python2.5/test/test_iter.pyRi‰siiRViRWiRXcSs|||fS(((R%RE((s*/usr/local/lib/python2.5/test/test_iter.pyRisRNi
txys
ROi(RtmapRJRRRKtitemsRhRtiterkeysRPRRQRRRRS(RREtdkeysR'RtexpectedRT((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_map‡s4%+!%e	
)
c
Cs|itƒgƒ|itgŒgƒ|itd dgŒd!d"gƒ|ittdƒ|itttdƒdƒ|itttdƒtƒ|ittdƒƒd#d$d%gƒ|ittdƒƒd&d'd(gƒhdd
<dd<dd<}|i|iƒt||i	ƒƒƒd
d)d„ƒY}t
tdƒ}z|idƒWd|i
ƒXt
tdƒ}z5|it|d	ƒ||dƒƒd*d+d,gƒWd|i
ƒyttƒWntj
onXX|ittdƒƒg}tdƒD]}||fq~ƒdd-d„ƒY}d|fd„ƒY}d|fd„ƒY}|it|ƒƒdƒ|it|ƒƒdƒ|it|ƒƒttdƒƒƒ|it|ƒƒttdƒƒƒ|it|ƒƒttdƒƒƒg}	tdƒD]}|	||fq~	}
x\|ƒ|ƒ|ƒfD]B}x9|ƒ|ƒ|ƒfD]}|it||ƒ|
ƒqbWqCWdS(.NiitabRBRCi
i*iiRVRWRXtIntsFromcBs#eZd„Zd„Zd„ZRS(cSs
||_dS(N(R(Rtstart((s*/usr/local/lib/python2.5/test/test_iter.pyR¼scSs|S(N((R((s*/usr/local/lib/python2.5/test/test_iter.pyR¿scSs|i}|d|_|S(Ni(R(RR((s*/usr/local/lib/python2.5/test/test_iter.pyRÂs	
(RR
RRR(((s*/usr/local/lib/python2.5/test/test_iter.pyRz»s		RNs	a
bbb
cc
ROiœÿÿÿsa
sbbb
iÿÿÿscc
ižÿÿÿitNoGuessLen5cBseZd„ZRS(cSs|djo
t‚n|S(Ni(R(RR((s*/usr/local/lib/python2.5/test/test_iter.pyRÝs

(RR
R(((s*/usr/local/lib/python2.5/test/test_iter.pyR|Üst
Guess3Len5cBseZd„ZRS(cSsdS(Ni((R((s*/usr/local/lib/python2.5/test/test_iter.pyt__len__ãs(RR
R~(((s*/usr/local/lib/python2.5/test/test_iter.pyR}âstGuess30Len5cBseZd„ZRS(cSsdS(Ni((R((s*/usr/local/lib/python2.5/test/test_iter.pyR~çs(RR
R~(((s*/usr/local/lib/python2.5/test/test_iter.pyRæsi(ii(iRB(iRC(i(i(i(i(i(i((isa
iœÿÿÿ(isbbb
iÿÿÿ(iscc
ižÿÿÿ((RtzipRZR[RJRRRRtRpRPRRQRRRRSR?Rh(
RRERzRTR'RR|R}Rt_[2]RwR7ty((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_zip©sV"!%!
@%%%-cCsddkl}|it|tdƒƒdƒ|it|tdƒdƒdƒ|itt|tdƒƒ|it|tdƒdƒdƒ|it|tdƒƒdƒ|it|tdƒdƒdƒhdd	<d
d<dd
<}|it||ƒdi|iƒƒƒdS(Niÿÿÿÿ(taddii
i*i4iiRViRWiRXt(	toperatorR„RtreduceRRZR[tjoinRK(RR„RE((s*/usr/local/lib/python2.5/test/test_iter.pyttest_builtin_reduceös"""!cCsµdd
d„ƒY}ttdƒ}z|idƒWd|iƒXttdƒ}z/di||ƒƒ}|i|td	ƒƒWd|iƒyttƒWntj
onXXdS(
NtOhPhooeycBs#eZd„Zd„Zd„ZRS(cSst|ƒ|_d|_dS(Ni(RRR(RR((s*/usr/local/lib/python2.5/test/test_iter.pyRscSs|S(N((R((s*/usr/local/lib/python2.5/test/test_iter.pyRscSs>|i}|d|_|djotdƒSn|iiƒS(Niisfooled you!(RRHRR(RR((s*/usr/local/lib/python2.5/test/test_iter.pyRs
	

(RR
RRR(((s*/usr/local/lib/python2.5/test/test_iter.pyRŠs		RNsa
sb
sc
ROs - sa
 - b
 - fooled you! - c
(sa
b
sa
b
c
(	RPRRQRRRˆRRHRRS(RRŠRTtgot((s*/usr/local/lib/python2.5/test/test_iter.pyttest_unicode_join_endcases
cCsdS(N((R((s*/usr/local/lib/python2.5/test/test_iter.pyRŒ,scCs’x’tdƒtdƒfD]x}x'tdƒD]}|i||jƒq,WxEdddddghdd<d|f	D]}|i||jƒqtWqW|itd	„ƒ|itd
„ƒhdd<dd
<dd<dd<}x:|D]2}|i||jƒ|i||iƒjƒqìWx@|iƒD]2}|i||iƒjƒ|i||jƒq/WxX|iƒD]J\}}|i||f|iƒjƒ|i||f|iƒjƒqrWt	t
dƒ}z|idƒWd|iƒXt	t
dƒ}z_xXdD]P}|i
ddƒ|i||jƒ|i
ddƒ|i|d|jƒqWWd|iƒytt
ƒWntj
onXXdS(NiR^iÿÿÿÿgö(\Â5E@iiiy(@cSs
ddjS(ii((((s*/usr/local/lib/python2.5/test/test_iter.pyRi6scSs
dtjS(i(Rs(((s*/usr/local/lib/python2.5/test/test_iter.pyRi7sRViRWRXy@yð?RNsa
b
c
ROis
(iiy@(À(RRRRRZR[Rptvaluest	iteritemsRPRRQRRR\RRS(Rtsc5RRER%tvRTtchunk((s*/usr/local/lib/python2.5/test/test_iter.pyttest_in_and_not_in/sP
+*

#
cCs*ddkl}|i|ddddddgdƒdƒ|i|ddƒdƒ|i|ddƒdƒ|i|dd	ƒd
ƒ|it|ddƒ|it|||ƒhdd<dd
<dd<dd<}x'|D]}|i|||ƒdƒqãW|i||iƒdƒdƒ|i||iƒdƒdƒ|i||iƒdƒd
ƒttdƒ}z|idƒWd|i	ƒXttdƒ}zTxMddddfD]9\}}|i
d
d
ƒ|i|||dƒ|ƒq¶WWd|i	ƒyttƒWntj
onXXdS(Niÿÿÿÿ(tcountOfiiiit122325t2t6ii*RVRWRXy@yð?RNsa
b
c
b
RORBRCRDREs
(iiiiii(RBi(RCi(RDi(REi(
R†R“RRZR[RpRPRRQRRR\RRS(RR“RER%RTtlettertcount((s*/usr/local/lib/python2.5/test/test_iter.pyttest_countOfXs:+*%
cCs\ddkl}|i|ddddddgdƒdƒ|i|ddƒdƒ|i|ddƒdƒ|i|ddƒdƒ|it|ddƒ|it|ddƒ|i|d	d
ƒdƒ|i|d	dƒdƒ|it|d	dƒ|it|d
dƒ|it|||ƒttdƒ}z|idƒWd|i	ƒXttdƒ}zqt
|ƒ}|i||dƒdƒ|i||dƒdƒ|i||dƒdƒ|it||dƒWd|i	ƒyttƒWntj
onXXt
dƒ}x-tdƒD]}|i|||ƒ|ƒqW|it||dƒdS(Niÿÿÿÿ(tindexOfiiiiiiR”R•t5R–i*RNs
a
b
c
d
e
ROsb
sd
se
sa
(iiiiii(iiiiii(iiiiii(iiiiii(iiiiii(R†RšRRZt
ValueErrorR[RPRRQRRRRRSRR(RRšRTtfiterticlassR((s*/usr/local/lib/python2.5/test/test_iter.pyttest_indexOf{sB+

csZttdƒ}z|it|idƒ|it|idƒ|iddgƒ|idƒ|ihdd<ƒ|ihƒddd	„ƒY‰d
d‡fd†ƒY}|i|ddƒƒ|iƒttƒ}g}tddƒD]}|t|ƒdqí~}|i	t
|ƒ|ƒWd|iƒyttƒWntj
onXXdS(NRNi*s1
s2
s3
s4
s5
tIteratorcBs#eZd„Zd„Zd„ZRS(cSs"||_||_|i|_dS(N(R{tfinishR(RR{R¡((s*/usr/local/lib/python2.5/test/test_iter.pyR²s		cSsC|i|ijo
t‚nt|iƒd}|id7_|S(Ns
i(RR¡R	tstr(Rtresult((s*/usr/local/lib/python2.5/test/test_iter.pyR·s

cSs|S(N((R((s*/usr/local/lib/python2.5/test/test_iter.pyR¾s(RR
RRR(((s*/usr/local/lib/python2.5/test/test_iter.pyR ±s		tWhatevercs eZd„Z‡fd†ZRS(cSs||_||_dS(N(R{R¡(RR{R¡((s*/usr/local/lib/python2.5/test/test_iter.pyRÂs	csˆ|i|iƒS(N(R{R¡(R(R (s*/usr/local/lib/python2.5/test/test_iter.pyRÆs(RR
RR((R (s*/usr/local/lib/python2.5/test/test_iter.pyR¤Ás	iiÐiiÖs
(s3
s4
((iÖ(
tfileRRZR[t
writelinesRJRRRR¢RRYRRS(RRTR¤R'RRw((R s*/usr/local/lib/python2.5/test/test_iter.pyttest_writelines¤s(


4
c
Csíd\}}|i||fdƒtdƒ\}}}|i|||fdƒytdƒ\}}Wntj
onX|idƒytdƒ\}}}Wntj
onX|idƒyt\}}}Wntj
onX|idƒhdd<dd<dd<iƒ\}}}|i|||fdƒttdƒ}d}z"x|D]}|i	|ƒqcWWd|i
ƒXttdƒ}z,|\}}}|i|||f|ƒWd|i
ƒyttƒWntj
onXXtdƒhd
d<\}}\}|i|||fdƒdt
fd„ƒY}|ƒ}|i|idƒ~|i|idƒ|ƒ|ƒ|ƒg}	|i|idƒyt|	ƒ\}}Wntj
onX~	|i|idƒdS(Niiiisshould have raised ValueErrorsshould have raised TypeErrori*RNsa
sbb
sccc
ROiR.cBs eZdZd„Zd„ZRS(icSs|id7_ti|ƒS(Ni(R˜tobjectt__new__(tcls((s*/usr/local/lib/python2.5/test/test_iter.pyR©scSs|i}|id8_dS(Ni(t	__class__R˜(RRª((s*/usr/local/lib/python2.5/test/test_iter.pyt__del__s	(RR
R˜R©R¬(((s*/usr/local/lib/python2.5/test/test_iter.pyR.s	(ii(ii(iii(i*i*i*(sa
sbb
sccc
(iii*(RRRœR6RhR[RpRPRRQRRRRSR¨R˜R(
RRBRCRDRTtlinestlineR.R7tl((s*/usr/local/lib/python2.5/test/test_iter.pyttest_unpack_iterÙsh


0
%		cCsdtdƒ}t|ƒ}|it|ƒtdƒƒ|itddƒƒ|it|ƒgƒdS(Nii
(RRRRYtextend(RRBRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_list*s
cCsHd}t|ƒ}|it|ƒtdƒƒ|it|ƒgƒdS(Niiiiii(iiiii(RRRYR(RRBRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_tuple2scCsQd}t|ƒ}|it|ƒdddddgƒ|it|ƒgƒdS(NRARBRCRDRERF(RRRY(RRBRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_string8s%cCsWtdƒ}t|ƒ}|it|ƒtdƒƒd|_|it|ƒgƒdS(Nii
(RRRRYRR(RRBRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_sequence>s
	cCsTdgd„}t|dƒ}|it|ƒtdƒƒ|it|ƒgƒdS(NicSs6|d}|d|d<|djo
td‚n|S(Niii
sshouldn't have gotten this far(tAssertionError(R1R((s*/usr/local/lib/python2.5/test/test_iter.pyR2Hs



i(RRRYR(RR2RC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_callableFscCsªhdd<dd<dd<dd<dd<}xpt|ƒ|iƒ|iƒ|iƒfD]D}t|ƒ}|itt|ƒƒdƒ|it|ƒgƒq^WdS(Niiiiii(RRuRŽRpRRhRY(RRBRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_dictRs3+cCsHd„}|ƒ}|it|ƒtdƒƒ|it|ƒgƒdS(Ncss xtdƒD]}|Vq
WdS(Ni(R(R((s*/usr/local/lib/python2.5/test/test_iter.pytgen\s
i(RRYR(RR¹RC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_yield[s		cCsNtdƒ}t|ƒ}|it|ƒtdƒƒ|it|ƒgƒdS(Ni(R?RRRYR(RRBRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_rangecscCsitdƒ}t|ƒ}t|ƒ}|it|ƒttdƒtdƒƒƒ|it|ƒgƒdS(Ni(Rt	enumerateRRRYR€(RRBRFRC((s*/usr/local/lib/python2.5/test/test_iter.pyttest_sinkstate_enumerateis
+(3RR
RRRR!R"R&R(R)R*R+R,R-R0R3R4R8R:R;R<R=R>R@RGRRIRMRUR]R`RmRqRxRƒR‰RŒR’R™RŸR§R°R²R³R´RµR·R¸RºR»R½(((s*/usr/local/lib/python2.5/test/test_iter.pyR1sf						
							
		
									
			 	!	,	 	"	M	
	(
	)	#	)	5	Q									cCsttƒdS(N(RR(((s*/usr/local/lib/python2.5/test/test_iter.pyt	test_mainqst__main__(
tunittestttest.test_supportRRRRR#RRRRR¾R(((s*/usr/local/lib/python2.5/test/test_iter.pys<module>s("$$$$$$$$*ÿÿÿC	


Man Man