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_set.pyc

³ò
h”Rc
@scddkZddklZddklZddkZddkZddkZddkZddk	l
Z
lZddkZde
fd„ƒYZd„Zdfd	„ƒYZd
fd„ƒYZdefd
„ƒYZdeifd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZeƒZ d eifd!„ƒYZ!d"e!fd#„ƒYZ"d$e!fd%„ƒYZ#d&e!fd'„ƒYZ$d(e!fd)„ƒYZ%d*„Z&d+„Z'd,eifd-„ƒYZ(d.eifd/„ƒYZ)d0eifd1„ƒYZ*d2eifd3„ƒYZ+d4eifd5„ƒYZ,d6eifd7„ƒYZ-d8e-fd9„ƒYZ.d:e-fd;„ƒYZ/d<e-fd=„ƒYZ0d>e-fd?„ƒYZ1d@e-fdA„ƒYZ2dBeifdC„ƒYZ3dDe3fdE„ƒYZ4dFe3fdG„ƒYZ5dHe3fdI„ƒYZ6dJe3fdK„ƒYZ7dLe3fdM„ƒYZ8dNe3fdO„ƒYZ9dPeifdQ„ƒYZ:dRe:fdS„ƒYZ;dTe:fdU„ƒYZ<dVe:fdW„ƒYZ=dXe:fdY„ƒYZ>dZe:fd[„ƒYZ?d\eifd]„ƒYZ@d^„ZAd_fd`„ƒYZBdafdb„ƒYZCdcfdd„ƒYZDdefdf„ƒYZEdgfdh„ƒYZFdifdj„ƒYZGdkfdl„ƒYZHddmkIlJZJlKZKdn„ZLdoeifdp„ƒYZMeNdq„ZOePdrjoeOdseQƒndS(tiÿÿÿÿN(ttest_support(tproxy(t	randrangetshuffletPassThrucBseZRS((t__name__t
__module__(((s)/usr/local/lib/python2.5/test/test_set.pyRsccst‚dVdS(Ni(R(((s)/usr/local/lib/python2.5/test/test_set.pytcheck_pass_thrustBadCmpcBseZd„Zd„ZRS(cCsdS(Ni((tself((s)/usr/local/lib/python2.5/test/test_set.pyt__hash__scCs
t‚dS(N(tRuntimeError(R	tother((s)/usr/local/lib/python2.5/test/test_set.pyt__cmp__s(RRR
R
(((s)/usr/local/lib/python2.5/test/test_set.pyRs	tReprWrappercBseZdZd„ZRS(s*Used to test self-referential repr() callscCs
t|iƒS(N(treprtvalue(R	((s)/usr/local/lib/python2.5/test/test_set.pyt__repr__s(RRt__doc__R(((s)/usr/local/lib/python2.5/test/test_set.pyRstHashCountingIntcBs eZdZd„Zd„ZRS(sBint-like object that counts the number of times __hash__ is calledcGs
d|_dS(Ni(t
hash_count(R	targs((s)/usr/local/lib/python2.5/test/test_set.pyt__init__scCs|id7_ti|ƒS(Ni(RtintR
(R	((s)/usr/local/lib/python2.5/test/test_set.pyR
!s(RRRRR
(((s)/usr/local/lib/python2.5/test/test_set.pyRs	tTestJointOpscBsé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„Zd„Zd„ZRS(cCsGd|_}d|_d|_|i|ƒ|_ti|ƒ|_dS(Nt
simsalabimt
madagascart4abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(twordt	otherwordtletterstthetypetstdicttfromkeystd(R	R((s)/usr/local/lib/python2.5/test/test_set.pytsetUp(s

		cCs|it|igdƒdS(Ni(tassertRaisest	TypeErrorR(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_new_or_init/scCsdt|iƒ}t|iƒ}|i||ƒ|it|itƒƒ|it|iggƒdS(N(	tsortedR R#tassertEqualR%RRRR&(R	tactualtexpected((s)/usr/local/lib/python2.5/test/test_set.pyttest_uniquification2s
cCs&|it|iƒt|iƒƒdS(N(R)tlenR R#(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_len9scCsx3|iD](}|i||ij||ijƒq
W|it|iiggƒ|it|iƒgƒ}|i	|i|iƒ|jƒdS(N(
RR)R R#R%R&t__contains__Rt	frozensettassert_(R	tcR ((s)/usr/local/lib/python2.5/test/test_set.pyt
test_contains<s
&c	Cs­|ii|iƒ}x@|iD]5}|i||j||ijp
||ijƒqW|i|i|i|iƒƒ|it|ƒ|iƒ|i	t
|iitƒƒ|i	t|iiggƒxÞt
ttittttfD]¾}|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
d	ƒƒqçWdS(
Ntabcbatcdctabcdtefgfetabcefgtccbtabcteftabcef(R tunionRRR)R#RRttypeR%RRR&tsetR0R!R"tstrtunicodetlistttuple(R	tuR2tC((s)/usr/local/lib/python2.5/test/test_set.pyt
test_unionCs
3...cCsŽ|ii|iƒ}|i|it|iƒB|ƒ|i|it|iƒB|ƒy|i|iBWntj
onX|idƒdS(Ns(s|t did not screen-out general iterables(R R=RR)R?R0R&tfail(R	ti((s)/usr/local/lib/python2.5/test/test_set.pyttest_orQs  c	Cs‘|ii|iƒ}x@|iD]5}|i||j||ijo
||ijƒqW|i|i|i|iƒƒ|it|ƒ|iƒ|i	t
|iitƒƒxÞtt
tittttfD]¾}|i|idƒi|dƒƒtdƒƒ|i|idƒi|dƒƒtdƒƒ|i|idƒi|dƒƒtdƒƒ|i|idƒi|dƒƒtdƒƒqËWdS(	NR4R5tccR7tR9tbcR;(R tintersectionRRR)R#RRR>R%RRR?R0R!R"R@RARBRC(R	RHR2RE((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection\s
3...cCsŽ|ii|iƒ}|i|it|iƒ@|ƒ|i|it|iƒ@|ƒy|i|i@Wntj
onX|idƒdS(Ns(s&t did not screen-out general iterables(R RMRR)R?R0R&RG(R	RH((s)/usr/local/lib/python2.5/test/test_set.pyttest_andis  c	Cs­|ii|iƒ}x@|iD]5}|i||j||ijo
||ijƒqW|i|i|i|iƒƒ|it|ƒ|iƒ|i	t
|iitƒƒ|i	t|iiggƒxÞt
ttittttfD]¾}|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒqçWdS(	NR4R5tabR7R:R9taR;(R t
differenceRRR)R#RRR>R%RRR&R?R0R!R"R@RARBRC(R	RHR2RE((s)/usr/local/lib/python2.5/test/test_set.pyttest_differencets
3...cCsŽ|ii|iƒ}|i|it|iƒ|ƒ|i|it|iƒ|ƒy|i|iWntj
onX|idƒdS(Ns(s-t did not screen-out general iterables(R RRRR)R?R0R&RG(R	RH((s)/usr/local/lib/python2.5/test/test_set.pyttest_sub‚s  c	Csª|ii|iƒ}x=|iD]2}|i||j||ij||ijAƒqW|i|i|i|iƒƒ|it|ƒ|iƒ|i	t
|iitƒƒ|i	t|iiggƒxÞt
ttittttfD]¾}|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
dƒƒ|i|idƒi|dƒƒt
d	ƒƒqäWdS(
NR4R5tabdR7R8R9RQR;R<(R tsymmetric_differenceRRR)R#RRR>R%RRR&R?R0R!R"R@RARBRC(R	RHR2RE((s)/usr/local/lib/python2.5/test/test_set.pyttest_symmetric_differences
0...cCsŽ|ii|iƒ}|i|it|iƒA|ƒ|i|it|iƒA|ƒy|i|iAWntj
onX|idƒdS(Ns(s^t did not screen-out general iterables(R RVRR)R?R0R&RG(R	RH((s)/usr/local/lib/python2.5/test/test_set.pyttest_xor›s  cCs¬|i|it|iƒƒ|i|it|iƒƒ|i|i|ijtƒ|i|it|iƒƒ|i|it|iƒƒ|i|i|ijtƒdS(N(	R)R R?RR0tFalsetassertNotEqualRtTrue(R	((s)/usr/local/lib/python2.5/test/test_set.pyt
test_equality¦scCsGttdddddgƒ}|i|ƒ}|it|ƒdƒdS(Ntabcdeftbcdtbdcbtfedtfedccbai(tmapR0RR)R-(R	ttR ((s)/usr/local/lib/python2.5/test/test_set.pyttest_setOfFrozensets®scCs |it|ii|iƒdS(N(R%R&R R
(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_compare³scCsCt|idddgƒ\}}}|i||jƒ|i||jƒ|i||jƒ|i||jƒ|i||jƒ|i||jƒ|i||jƒ|i||jƒ|i||jƒ|itdƒidƒƒ|itdƒidƒƒ|itdƒidƒƒ|itdƒidƒƒdS(NRPtabcdetdefRQR:tcbs(RbRR1tfailIfR?tissubsett
issuperset(R	tptqtr((s)/usr/local/lib/python2.5/test/test_set.pyttest_sub_and_super¶s$cCsÂx»dD]³}ti|i|ƒ}ti|ƒ}|i|i|d|i|fƒt|iƒttfjoJd|i_ti|iƒ}ti|ƒ}|i|ii|iƒqqWdS(Niiis%s != %si
(iii(	tpickletdumpsR tloadsR)R>R?R0tx(R	RHRltdup((s)/usr/local/lib/python2.5/test/test_set.pyt
test_picklingÆs#cs³dd‡fd†ƒY‰ˆdƒ}|i|gƒ}ti|ƒ}|it|ƒt|ƒƒx|D]}|}qiW|it|ƒt|ƒƒ|i|id|iƒdS(NtTracercs,eZd„Zd„Zd‡fd†ZRS(cSs
||_dS(N(R(R	R((s)/usr/local/lib/python2.5/test/test_set.pyRÓscSs|iS(N(R(R	((s)/usr/local/lib/python2.5/test/test_set.pyR
Õscsˆ|idƒS(Ni(R(R	tmemo(Rv(s)/usr/local/lib/python2.5/test/test_set.pyt__deepcopy__×sN(RRRR
tNoneRx((Rv(s)/usr/local/lib/python2.5/test/test_set.pyRvÒs		i
i((RtcopytdeepcopyRZtidR)R(R	RcR Rttelemtnewt((Rvs)/usr/local/lib/python2.5/test/test_set.pyt
test_deepcopyÑs
csnddd„ƒY‰t‡fd†tdƒDƒƒ}x2|D]*}||_||_t|gƒ|_q<WdS(NtAcBseZRS((RR(((s)/usr/local/lib/python2.5/test/test_set.pyR€äsc3sx|]}ˆƒVqWdS(N((t.0RH(R€(s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>æs	iè((R?txrangetcycletsub(R	R R}((R€s)/usr/local/lib/python2.5/test/test_set.pyttest_gcâs"		cCsvd|ifd„ƒY}|ƒ}tƒ}|i|ƒ|i||jƒ|i|ƒ|i|ƒ|i|ƒdS(NtHcBseZd„ZRS(cSstt|ƒd@ƒS(Niÿÿÿ(RR|(R	((s)/usr/local/lib/python2.5/test/test_set.pyR
ïs(RRR
(((s)/usr/local/lib/python2.5/test/test_set.pyR†îs(RR?taddR1tremovetdiscard(R	R†R tf((s)/usr/local/lib/python2.5/test/test_set.pyttest_subclass_with_custom_hashìs		


cCs³|itƒgƒ}|it|itƒtƒgƒ|it|itƒƒt|dƒoO|it|itƒƒ|it|itƒƒ|it|itƒƒndS(NR‡(	RRR%RR/thasattrR‡R‰Rˆ(R	R ((s)/usr/local/lib/python2.5/test/test_set.pyttest_badcmpùs"cCsatƒ}|i|gƒ}||_t|ƒidƒd}|it|ƒd||fƒdS(Nt(is
%s([%s(...)])(RRRRt	partitionR)(R	twR tname((s)/usr/local/lib/python2.5/test/test_set.pyttest_cyclical_reprs
		cCsžtƒ}|i|gƒ}||_zXttidƒ}||I|iƒttidƒ}|i|iƒt	|ƒƒWd|iƒt
itiƒXdS(Ntwbtrb(RRRtopenRtTESTFNtcloseR)treadRtosRˆ(R	RR tfo((s)/usr/local/lib/python2.5/test/test_set.pyttest_cyclical_prints		

 
cCs£d}tittt|ƒƒƒ}|itd„|Dƒƒ|ƒ|i|ƒ}|itd„|Dƒƒ|ƒ|i|ƒ|itd„|Dƒƒ|ƒt	|dƒo|i
|ƒn|itd„|Dƒƒ|ƒtit|ƒƒ}|itd„|Dƒƒ|ƒtit|ƒƒ}|itd„|Dƒƒ|ƒtit|ƒd	ƒ}|itd
„|Dƒƒ|ƒ|i|ti|d	ƒƒdS(Ni
cssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>s	cssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>s	cssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr> s	tsymmetric_difference_updatecssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>#s	cssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>%s	cssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>'s	i{cssx|]}|iVqWdS(N(R(RR}((s)/usr/local/lib/python2.5/test/test_set.pys	<genexpr>)s	(
R!R"RbRR‚R)tsumRRRRŒRœR?R0(R	tnR#R td2td3((s)/usr/local/lib/python2.5/test/test_set.pyttest_do_not_rehash_dict_keyss"  
     (RRR$R'R,R.R3RFRIRNRORSRTRWRXR\RdReRoRuRR…R‹RR’R›R¡(((s)/usr/local/lib/python2.5/test/test_set.pyR%s2								
												
	
			tTestSetcBsßeZeZd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd„Zd	„Z
d
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zeedƒo
d„ZnRS(cCs‘|iƒ}|i|iƒ|i|t|iƒƒ|i|iƒ|i|t|iƒƒ|it|i|dƒ|it|idƒdS(Nii(RRRR)R?RR%R&(R	R ((s)/usr/local/lib/python2.5/test/test_set.pyt	test_init/scCsD|itdƒƒ}|i|ƒ}|it|ƒt|ƒƒdS(Ni(RtrangeRZR|(R	R Rc((s)/usr/local/lib/python2.5/test/test_set.pyttest_constructor_identity8scCs|itt|iƒdS(N(R%R&thashR (R	((s)/usr/local/lib/python2.5/test/test_set.pyt	test_hash=scCs@|iiƒ|i|itƒƒ|it|iƒdƒdS(Ni(R tclearR)R?R-(R	((s)/usr/local/lib/python2.5/test/test_set.pyt
test_clear@s
cCsE|iiƒ}|i|i|ƒ|it|iƒt|ƒƒdS(N(R RzR)RZR|(R	Rt((s)/usr/local/lib/python2.5/test/test_set.pyt	test_copyEscCsu|iidƒ|id|ijƒ|iiƒ}|iidƒ|i|i|ƒ|it|iigƒdS(NtQ(R R‡R1RzR)R%R&(R	Rt((s)/usr/local/lib/python2.5/test/test_set.pyttest_addJscCsó|iidƒ|id|ijƒ|it|iidƒ|it|iigƒ|it|iƒgƒ}|i|i|iƒ|jƒ|i|i|iƒƒ|i|i|iƒ|jƒ|it|ii|i|iƒƒdS(NRQR«(	R RˆR1R%tKeyErrorR&RR0R(R	R ((s)/usr/local/lib/python2.5/test/test_set.pyttest_removeRscCsnxgddgD]Y}y|ii|ƒWn2tj
o&}|id}|i||ƒq
X|iƒq
WdS(NR«ii(i(R RˆR­RR)RG(R	tv1tetv2((s)/usr/local/lib/python2.5/test/test_set.pyttest_remove_keyerror_unpacking]s

cCsÞ|iidƒ|id|ijƒ|iidƒ|it|iigƒ|it|iƒgƒ}|i|i|iƒ|jƒ|i|i|iƒƒ|i|i|iƒ|jƒ|i|i|iƒƒdS(NRQR«(R R‰R1R%R&RR0R(R	R ((s)/usr/local/lib/python2.5/test/test_set.pyttest_discardhscCs_xBtt|iƒƒD]+}|iiƒ}|i||ijƒqW|it|iiƒdS(N(R‚R-R tpopR1R%R­(R	RHR}((s)/usr/local/lib/python2.5/test/test_set.pyttest_popss
c
Cs"|ii|iƒ}|i|dƒx.|i|iD]}|i||ijƒq6W|it|iit	ƒƒ|it
|iiggƒxd
ddd
fD]y\}}xjttt
ittttfD]J}|id	ƒ}|i|i||ƒƒdƒ|i|t|ƒƒqÌWq¡WdS(NR5R6R7R8R9R:R;R<R4(scdcsabcd(sefgfesabcefg(sccbsabc(sefsabcef(R tupdateRR)RyRR1R%RRR&R?R0R!R"R@RARBRCR(R	tretvalR2RlRmRER ((s)/usr/local/lib/python2.5/test/test_set.pyttest_updateyscCsM|it|iƒO_x.|i|iD]}|i||ijƒq)WdS(N(R R?RRR1(R	R2((s)/usr/local/lib/python2.5/test/test_set.pyttest_ior†sc
Cs\|ii|iƒ}|i|dƒxh|i|iD]V}||ijo*||ijo|i||ijƒq6|i||ijƒq6W|it|iit	ƒƒ|it
|iiggƒxd	d
ddfD]y\}}xjttt
ittttfD]J}|idƒ}|i|i||ƒƒdƒ|i|t|ƒƒqWqÛWdS(
NR5R2R7RKR9RLR;R4(scdcR2(sefgfeRK(sccbsbc(sefRK(R tintersection_updateRR)RyRR1R%RRR&R?R0R!R"R@RARBRCR(R	R·R2RlRmRER ((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_update‹s  cCs‡|it|iƒM_xh|i|iD]V}||ijo*||ijo|i||ijƒq)|i||ijƒq)WdS(N(R R?RRR1(R	R2((s)/usr/local/lib/python2.5/test/test_set.pyt	test_iand›s c
Csx|ii|iƒ}|i|dƒxh|i|iD]V}||ijo*||ijo|i||ijƒq6|i||ijƒq6W|it|iit	ƒƒ|it
|iiggƒ|it
|iiggƒxd	d
ddfD]y\}}xjtt
tittttfD]J}|idƒ}|i|i||ƒƒdƒ|i|t|ƒƒq"Wq÷WdS(
NR5RPR7R:R9RQR;R4(scdcsab(sefgfesabc(sccbRQ(sefsabc(R tdifference_updateRR)RyRR1R%RRR&RœR?R0R!R"R@RARBRCR(R	R·R2RlRmRER ((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_update£s" cCs‡|it|iƒ8_xh|i|iD]V}||ijo*||ijo|i||ijƒq)|i||ijƒq)WdS(N(R R?RRR1(R	R2((s)/usr/local/lib/python2.5/test/test_set.pyt	test_isub´s c
CsY|ii|iƒ}|i|dƒxe|i|iD]S}||ij||ijAo|i||ijƒq6|i||ijƒq6W|it|iit	ƒƒ|it
|iiggƒxd
ddd
fD]y\}}xjttt
ittttfD]J}|id	ƒ}|i|i||ƒƒdƒ|i|t|ƒƒqWqØWdS(NR5RUR7R8R9RQR;R<R4(scdcsabd(sefgfesabcefg(sccbRQ(sefsabcef(R RœRR)RyRR1R%RRR&R?R0R!R"R@RARBRCR(R	R·R2RlRmRER ((s)/usr/local/lib/python2.5/test/test_set.pyt test_symmetric_difference_update¼s cCs„|it|iƒN_xe|i|iD]S}||ij||ijAo|i||ijƒq)|i||ijƒq)WdS(N(R R?RRR1(R	R2((s)/usr/local/lib/python2.5/test/test_set.pyt	test_ixorÌscCsœ|iiƒ}||O}|i||iƒ||M}|i||iƒ||8}|i||iƒƒ|iiƒ}||N}|i||iƒƒdS(N(R RzR)R(R	Rc((s)/usr/local/lib/python2.5/test/test_set.pyttest_inplace_on_selfÔs



cCsT|idƒ}t|ƒ}|it|ƒt|ƒƒd}|itt|ƒdS(Ntgallahad(RRR)R@RyR%tReferenceError(R	R Rl((s)/usr/local/lib/python2.5/test/test_set.pyttest_weakrefàs
t
test_c_apicCs |itdƒiƒtƒdS(NR:(R)R?RÆR[(R	((s)/usr/local/lib/python2.5/test/test_set.pyRÆés(RRR?RR£R¥R§R©RªR¬R®R²R³RµR¸R¹R»R¼R¾R¿RÀRÁRÂRÅRŒRÆ(((s)/usr/local/lib/python2.5/test/test_set.pyR¢,s.												
									tSetSubclasscBseZRS((RR(((s)/usr/local/lib/python2.5/test/test_set.pyRÇìstTestSetSubclasscBseZeZRS((RRRÇR(((s)/usr/local/lib/python2.5/test/test_set.pyRÈïstSetSubclassWithKeywordArgscBseZgdd„ZRS(cCsti||ƒdS(N(R?R(R	titerabletnewarg((s)/usr/local/lib/python2.5/test/test_set.pyRósN(RRRyR(((s)/usr/local/lib/python2.5/test/test_set.pyRÉòstTestSetSubclassWithKeywordArgscBseZd„ZRS(cCstddƒdS(s=SF bug #1486663 -- this used to erroneously raise a TypeErrorRËiN(RÉ(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_keywords_in_subclassøs(RRRÍ(((s)/usr/local/lib/python2.5/test/test_set.pyRÌöst
TestFrozenSetcBsVeZeZd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„ZRS(cCs?|i|iƒ}|i|iƒ|i|t|iƒƒdS(N(RRRRR)R?(R	R ((s)/usr/local/lib/python2.5/test/test_set.pyR£ÿscCs¡tƒ}tƒtgƒtdƒtdƒtƒtgƒtdƒtdƒttdƒƒttƒƒt|ƒ|g}|itttt|ƒƒƒdƒdS(NRKii(((R0R‚R)R-R?RbR|(R	RŠtefs((s)/usr/local/lib/python2.5/test/test_set.pyttest_singleton_empty_frozensets	!!cCsD|itdƒƒ}|i|ƒ}|it|ƒt|ƒƒdS(Ni(RR¤R)R|(R	R Rc((s)/usr/local/lib/python2.5/test/test_set.pyR¥
scCsÁ|it|idƒƒt|idƒƒƒd}g}t|ƒD]}|t|ƒqE~}tƒ}x:tdƒD],}t|ƒ|it|i|ƒƒƒqwW|it|ƒdƒdS(NtabcdebtebecdaidiÈi(	R)R¦RR‚RR?RR‡R-(R	Ržt_[1]RHtseqtresults((s)/usr/local/lib/python2.5/test/test_set.pyR§s-	

 cCs2|iiƒ}|it|iƒt|ƒƒdS(N(R RzR)R|(R	Rt((s)/usr/local/lib/python2.5/test/test_set.pyRªscCs•tdƒtdƒdg}|i|ƒ}|it|ƒƒ}|i||ƒ|it|ƒt|ƒƒh}d||<|i||dƒdS(Ni
tabcdefgtapplei*(R¤RBRtreversedR)RZR|(R	RÔtkey1tkey2R#((s)/usr/local/lib/python2.5/test/test_set.pyttest_frozen_as_dictkey#s
cCs/|idƒ}|it|ƒt|ƒƒdS(Ntabcdcda(RR)R¦(R	RŠ((s)/usr/local/lib/python2.5/test/test_set.pyttest_hash_caching-sc

CsÌd}tƒ}|i}g}t|ƒD]}||dd|>fq)~}x^td|ƒD]L}|ttg}|D]"\}}	|	|@o||qxqx~ƒƒƒq^W|it|ƒd|ƒdS(Ni
ii(R?R‡R¤R‚R¦R0R)R-(
R	Ržt
hashvaluestaddhashvalueRÓRHt	elemmaskst_[2]R°tm((s)/usr/local/lib/python2.5/test/test_set.pyttest_hash_effectiveness1s		5J(RRR0RR£RÐR¥R§RªRÛRÝRã(((s)/usr/local/lib/python2.5/test/test_set.pyRÎüs					
		
	tFrozenSetSubclasscBseZRS((RR(((s)/usr/local/lib/python2.5/test/test_set.pyRä:stTestFrozenSetSubclasscBs2eZeZd„Zd„Zd„Zd„ZRS(cCsD|itdƒƒ}|i|ƒ}|it|ƒt|ƒƒdS(Ni(RR¤RZR|(R	R Rc((s)/usr/local/lib/python2.5/test/test_set.pyR¥@scCs2|iiƒ}|it|iƒt|ƒƒdS(N(R RzRZR|(R	Rt((s)/usr/local/lib/python2.5/test/test_set.pyRªEscCs/|iƒ}|i|ƒ}|i||ƒdS(N(RR)(R	R Rc((s)/usr/local/lib/python2.5/test/test_set.pyttest_nested_empty_constructorIscCsÑ|i}tƒ}|ƒ}|ƒ|gƒ|dƒ|dƒ|ƒ|gƒ|dƒ|dƒ|tdƒƒ||ƒƒ|tƒƒ||||ƒ||ƒg}|itttt|ƒƒƒt|ƒƒdS(NRKi(((RR0R‚R)R-R?RbR|(R	t	FrozensetRŠtFRÏ((s)/usr/local/lib/python2.5/test/test_set.pyRÐNs			!!*(RRRäRR¥RªRæRÐ(((s)/usr/local/lib/python2.5/test/test_set.pyRå=s
			tTestBasicOpscBs³eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„Zd„Zd„ZRS(cCs4|idj	o |it|iƒ|iƒndS(N(RRyR)R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyt	test_reprascCs€z^ttidƒ}||iI|iƒttidƒ}|i|iƒt|iƒƒWd|iƒti	tiƒXdS(NR“R”(
R•RR–R?R—R)R˜RR™Rˆ(R	Rš((s)/usr/local/lib/python2.5/test/test_set.pyt
test_printes

#
cCs |it|iƒ|iƒdS(N(R)R-R?tlength(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_lengthpscCs|i|i|iƒdS(N(R)R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_self_equalitysscCs|i|i|iƒdS(N(R)R?Rt(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_equivalent_equalityvscCs |i|iiƒ|iƒdS(N(R)R?RzRt(R	((s)/usr/local/lib/python2.5/test/test_set.pyRªyscCs'|i|iB}|i||iƒdS(N(R?R)Rt(R	tresult((s)/usr/local/lib/python2.5/test/test_set.pyttest_self_union|scCs$|itB}|i||iƒdS(N(R?t	empty_setR)Rt(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_empty_union€s
cCs$t|iB}|i||iƒdS(N(RòR?R)Rt(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_union_empty„s
cCs'|i|i@}|i||iƒdS(N(R?R)Rt(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_self_intersectionˆscCs!|it@}|i|tƒdS(N(R?RòR)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_empty_intersectionŒs
cCs!t|i@}|i|tƒdS(N(RòR?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_emptys
cCs$|i|iA}|i|tƒdS(N(R?R)Rò(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_self_symmetric_difference”scCs$|itA}|i||iƒdS(N(R?RòR)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pytcheckempty_symmetric_difference˜s
cCs$|i|i}|i|tƒdS(N(R?R)Rò(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_self_differenceœscCs$|it}|i||iƒdS(N(R?RòR)Rt(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_empty_difference s
cCs!t|i}|i|tƒdS(N(RòR?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_empty_difference_rev¤s
cCs\x'|iD]}|i||ijƒq
Wt|iƒ}|i|iƒt|iƒƒdS(N(R?R1tvaluestiterR)t__length_hint__R-(R	tvtsetiter((s)/usr/local/lib/python2.5/test/test_set.pyttest_iteration¨s

cCsHti|iƒ}ti|ƒ}|i|i|d|i|fƒdS(Ns%s != %s(RpRqR?RrR)(R	RlRz((s)/usr/local/lib/python2.5/test/test_set.pyRu°s(RRRêRëRíRîRïRªRñRóRôRõRöR÷RøRùRúRûRüRRu(((s)/usr/local/lib/python2.5/test/test_set.pyRé_s&																		tTestBasicOpsEmptycBseZd„ZRS(cCsLd|_g|_t|iƒ|_t|iƒ|_d|_d|_dS(Ns	empty setisset([])(tcaseRýR?RtRìR(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$¹s			(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyR¸stTestBasicOpsSingletoncBs#eZd„Zd„Zd„ZRS(cCsOd|_dg|_t|iƒ|_t|iƒ|_d|_d|_dS(Nsunit set (number)iisset([3])(RRýR?RtRìR(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$Äs		cCs|id|ijƒdS(Ni(t
failUnlessR?(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_inÌscCs|id|ijƒdS(Ni(RR?(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_not_inÏs(RRR$RR(((s)/usr/local/lib/python2.5/test/test_set.pyRÃs		tTestBasicOpsTuplecBs#eZd„Zd„Zd„ZRS(cCsOd|_dg|_t|iƒ|_t|iƒ|_d|_d|_dS(Nsunit set (tuple)itzeroisset([(0, 'zero')])(iszero(RRýR?RtRìR(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$Õs		cCs|id|ijƒdS(NiR
(iszero(RR?(R	((s)/usr/local/lib/python2.5/test/test_set.pyRÝscCs|id|ijƒdS(Ni	(RR?(R	((s)/usr/local/lib/python2.5/test/test_set.pyRàs(RRR$RR(((s)/usr/local/lib/python2.5/test/test_set.pyR	Ôs		tTestBasicOpsTriplecBseZd„ZRS(cCsXd|_ddtig|_t|iƒ|_t|iƒ|_d|_d|_dS(Ns
triple setiR
i(	RtoperatorR‡RýR?RtRìRyR(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$æs		(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRåsccst‚tVdS(N(R&R[(((s)/usr/local/lib/python2.5/test/test_set.pytbaditerðsccs	tVdS(N(R[(((s)/usr/local/lib/python2.5/test/test_set.pytgooditerôstTestExceptionPropagationcBs)eZdZd„Zd„Zd„ZRS(s?SF 628246:  Set constructor should not trap iterator TypeErrorscCs|itttƒƒdS(N(R%R&R?R
(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_instanceWithExceptionúscCsmtdddgƒtdƒthdd<dd<dd<ƒttdƒƒtdƒttƒƒdS(	NiiitonettwotthreeR:(iii(R?R‚R(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_instancesWithoutExceptionýs
%
cCsatdddgƒ}y%x|D]}|idgƒqWWntj
onX|idƒdS(Niiiis0no exception when changing size during iteration(R?R¶RRG(R	R RH((s)/usr/local/lib/python2.5/test/test_set.pyttest_changingSizeWhileIteratings(RRRRRR(((s)/usr/local/lib/python2.5/test/test_set.pyR÷s			t
TestSetOfSetscBseZd„ZRS(cCs~tdgƒ}t|gƒ}|iƒ}|it|ƒtƒ|i|ƒ|i|ƒ|i|tƒƒ|i|ƒdS(Ni(R0R?R´R)R>R‡RˆR‰(R	tinnertoutertelement((s)/usr/local/lib/python2.5/test/test_set.pyttest_constructors

(RRR(((s)/usr/local/lib/python2.5/test/test_set.pyRst
TestBinaryOpscBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„ZRS(cCstdƒ|_dS(Niii(iii(R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$ scCs8|i|ithdd<dd<dd<ƒƒdS(Niiiiii(R)R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_eq#scCs0|itdgƒB}|i|tdƒƒdS(Niii(iii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_union_subset&scCsE|itddddgƒB}|i|tddddgƒƒdS(Niiii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_union_superset*scCsE|itdddgƒB}|i|tdddddgƒƒdS(Niiiii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_union_overlap.scCs<|itdgƒB}|i|tddddgƒƒdS(Niiii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_union_non_overlap2scCs-|itdƒ@}|i|tdƒƒdS(Nii(ii(ii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_subset6scCsB|itddddgƒ@}|i|tdddgƒƒdS(Niiii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_superset:scCs9|itdddgƒ@}|i|tdgƒƒdS(Niii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_overlap>scCs*|itdgƒ@}|i|tƒdS(Ni(R?R)Rò(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_non_overlapBscCs0|itdƒA}|i|tdgƒƒdS(Niii(ii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference_subsetFscCs0|itdƒA}|i|tdgƒƒdS(Niiii(iiii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference_supersetJscCs9|itdƒA}|i|tddddgƒƒdS(Niiiii(iii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference_overlapNscCs<|itdgƒA}|i|tddddgƒƒdS(Niiii(R?R)(R	Rð((s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference_non_overlapRscCsxtdƒtdƒ}}|itt||ƒ|it||ƒdƒ|itt|dƒ|ittd|ƒdS(NRQtbiiR:(R?R%R&tcmpR)(R	RQR)((s)/usr/local/lib/python2.5/test/test_set.pyttest_cmpVs
(RRR$RRRRR R!R"R#R$R%R&R'R(R+(((s)/usr/local/lib/python2.5/test/test_set.pyRs														t
TestUpdateOpscBsÅ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„ZRS(cCstdƒ|_dS(Niii(iii(R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$fscCs5|itdgƒO_|i|itdƒƒdS(Niii(iii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyRiscCsJ|itddddgƒO_|i|itddddgƒƒdS(Niiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyRms!cCsJ|itdddgƒO_|i|itdddddgƒƒdS(Niiiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyRqscCsA|itdgƒO_|i|itddddgƒƒdS(Niiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR uscCsK|iitdddgƒƒ|i|itdddddgƒƒdS(Niiiii(R?R¶R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_union_method_callyscCs2|itdƒM_|i|itdƒƒdS(Nii(ii(ii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR!}scCsG|itddddgƒM_|i|itdddgƒƒdS(Niiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR"s!cCs>|itdddgƒM_|i|itdgƒƒdS(Niii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR#…scCs/|itdgƒM_|i|itƒdS(Ni(R?R)Rò(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$‰scCs?|iitdddgƒƒ|i|itdgƒƒdS(Niii(R?RºR)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_intersection_method_callscCs5|itdƒN_|i|itdgƒƒdS(Niii(ii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR%‘scCs5|itdƒN_|i|itdgƒƒdS(Niiii(iiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR&•scCs>|itdƒN_|i|itddddgƒƒdS(Niiiii(iii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR'™scCsA|itdgƒN_|i|itddddgƒƒdS(Niiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR(scCsH|iitdddgƒƒ|i|itddddgƒƒdS(Niiiii(R?RœR)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference_method_call¡scCs5|itdƒ8_|i|itdgƒƒdS(Niii(ii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_subset¥scCs2|itdƒ8_|i|itgƒƒdS(Niiii(iiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_superset©scCs8|itdƒ8_|i|itddgƒƒdS(Niiiii(iii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_overlap­scCs>|itdgƒ8_|i|itdddgƒƒdS(Niiii(R?R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_non_overlap±scCsB|iitdddgƒƒ|i|itddgƒƒdS(Niiiii(R?R½R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_method_callµs(RRR$RRRR R-R!R"R#R$R.R%R&R'R(R/R0R1R2R3R4(((s)/usr/local/lib/python2.5/test/test_set.pyR,es*																				t
TestMutatecBs†eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„ZRS(cCs(dddg|_t|iƒ|_dS(NRQR)R2(RýR?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$¼scCs-|iidƒ|i|itdƒƒdS(NR2R:(R?R‡R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_add_presentÀscCs-|iidƒ|i|itdƒƒdS(NR#R6(R?R‡R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_add_absentÄscCsgtƒ}d}x>|iD]3}|i|ƒ|d7}|it|ƒ|ƒqW|i||iƒdS(Nii(R?RýR‡R)R-(R	ttmptexpected_lenR((s)/usr/local/lib/python2.5/test/test_set.pyttest_add_until_fullÈs	


cCs-|iidƒ|i|itdƒƒdS(NR)tac(R?RˆR)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_remove_presentÑscCs;y!|iidƒ|idƒWntj
onXdS(NR#s7Removing missing element should have raised LookupError(R?RˆRGtLookupError(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_remove_absentÕs
cCsZt|iƒ}xD|iD]9}|ii|ƒ|d8}|it|iƒ|ƒqWdS(Ni(R-R?RýRˆR)(R	R9R((s)/usr/local/lib/python2.5/test/test_set.pyttest_remove_until_emptyÜs

cCs-|iidƒ|i|itdƒƒdS(NR2RP(R?R‰R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_discard_presentãscCs-|iidƒ|i|itdƒƒdS(NR#R:(R?R‰R)(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_discard_absentçscCs*|iiƒ|it|iƒdƒdS(Ni(R?R¨R)R-(R	((s)/usr/local/lib/python2.5/test/test_set.pyR©ës
cCsuh}x"|iod||iiƒ<q	W|it|ƒt|iƒƒx$|iD]}|i||jƒqTWdS(N(R?RyR´R)R-RýR(R	tpoppedR((s)/usr/local/lib/python2.5/test/test_set.pyRµïs

cCs0|iidƒ|i|it|iƒƒdS(N((R?R¶R)Rý(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_update_empty_tuple÷scCs0|iidƒ|i|it|iƒƒdS(NRQ(RQ(R?R¶R)Rý(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_update_unit_tuple_overlapûscCs7|iidƒ|i|it|idgƒƒdS(NRQtz(RQRE(R?R¶R)Rý(R	((s)/usr/local/lib/python2.5/test/test_set.pyt"test_update_unit_tuple_non_overlapÿs(RRR$R6R7R:R<R>R?R@RAR©RµRCRDRF(((s)/usr/local/lib/python2.5/test/test_set.pyR5»s														tTestSubsetscBseeZhdd<dd<Zhdd<dd<dd<dd<dd<dd<Zd„ZRS(	Rjs<=Rks>=s==s!=t>t<cCs#|i}|i}x
d	D]}||ij}td|dtƒƒ}|i||ƒ|tijo6t|ti|ƒ}||ƒ}|i||ƒnti	|}td|dtƒƒ}|i||ƒ|tijo6t|ti|ƒ}||ƒ}|i||ƒqqWdS(
Ns!=s==RIs<=RHs>=Rsty(s!=s==RIs<=RHs>=(
tlefttrighttcasestevaltlocalsR)RGtcase2methodtgetattrtreverse(R	RsRJRR+Rðtmethodtrcase((s)/usr/local/lib/python2.5/test/test_set.pyt
test_issubsets$		
(RRRPRRRU(((s)/usr/local/lib/python2.5/test/test_set.pyRGs

				tTestSubsetEqualEmptycBs&eZeƒZeƒZdZdZRS(s
both emptys==s<=s>=(s==s<=s>=(RRR?RKRLR‘RM(((s)/usr/local/lib/python2.5/test/test_set.pyRV+s		tTestSubsetEqualNonEmptycBs8eZeddgƒZeddgƒZdZdZRS(iis
equal pairs==s<=s>=(s==s<=s>=(RRR?RKRLR‘RM(((s)/usr/local/lib/python2.5/test/test_set.pyRW3stTestSubsetEmptyNonEmptycBs/eZeƒZeddgƒZdZdZRS(iisone empty, one non-emptys!=RIs<=(s!=RIs<=(RRR?RKRLR‘RM(((s)/usr/local/lib/python2.5/test/test_set.pyRX;s	tTestSubsetPartialcBs5eZedgƒZeddgƒZdZdZRS(iis&one a non-empty proper subset of others!=RIs<=(s!=RIs<=(RRR?RKRLR‘RM(((s)/usr/local/lib/python2.5/test/test_set.pyRYCstTestSubsetNonOverlapcBs2eZedgƒZedgƒZdZdZRS(iisneither empty, neither containss!=(RRR?RKRLR‘RM(((s)/usr/local/lib/python2.5/test/test_set.pyRZKstTestOnlySetsInBinaryOpscBs†eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„ZRS(cCst|i|i|ijtƒ|i|i|ijtƒ|i|i|ijtƒ|i|i|ijtƒdS(N(R)RR?RYR[(R	((s)/usr/local/lib/python2.5/test/test_set.pyt
test_eq_neUscs̈it‡fd†ƒˆit‡fd†ƒˆit‡fd†ƒˆit‡fd†ƒˆit‡fd†ƒˆit‡fd†ƒˆit‡fd†ƒˆit‡fd†ƒdS(	NcsˆiˆijS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyt<lambda>]scsˆiˆijS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]^scsˆiˆijS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]_scsˆiˆijS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]`scsˆiˆijS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]bscsˆiˆijS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]cscsˆiˆijS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]dscsˆiˆijS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]es(R%R&(R	((R	s)/usr/local/lib/python2.5/test/test_set.pyttest_ge_gt_le_lt\scCs=y|i|iO_Wntj
onX|idƒdS(Nsexpected TypeError(R?RR&RG(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_update_operatorgs
cCsA|io|ii|iƒn|it|ii|iƒdS(N(totherIsIterableR?R¶RR%R&(R	((s)/usr/local/lib/python2.5/test/test_set.pyR¸os
cssˆit‡fd†ƒˆit‡fd†ƒˆioˆiiˆiƒnˆitˆiiˆiƒdS(NcsˆiˆiBS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]vscsˆiˆiBS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]ws(R%R&R`R?R=R(R	((R	s)/usr/local/lib/python2.5/test/test_set.pyRFus

cCs=y|i|iM_Wntj
onX|idƒdS(Nsexpected TypeError(R?RR&RG(R	((s)/usr/local/lib/python2.5/test/test_set.pyt!test_intersection_update_operator}s
cCsA|io|ii|iƒn|it|ii|iƒdS(N(R`R?RºRR%R&(R	((s)/usr/local/lib/python2.5/test/test_set.pyR»…s

		cssˆit‡fd†ƒˆit‡fd†ƒˆioˆiiˆiƒnˆitˆiiˆiƒdS(Ncsˆiˆi@S((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]Žscsˆiˆi@S((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]s(R%R&R`R?RMR(R	((R	s)/usr/local/lib/python2.5/test/test_set.pyRNs

cCs=y|i|iN_Wntj
onX|idƒdS(Nsexpected TypeError(R?RR&RG(R	((s)/usr/local/lib/python2.5/test/test_set.pyt#test_sym_difference_update_operator•s
cCsA|io|ii|iƒn|it|ii|iƒdS(N(R`R?RœRR%R&(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference_updates

		cssˆit‡fd†ƒˆit‡fd†ƒˆioˆiiˆiƒnˆitˆiiˆiƒdS(NcsˆiˆiAS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]¦scsˆiˆiAS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]§s(R%R&R`R?RVR(R	((R	s)/usr/local/lib/python2.5/test/test_set.pyttest_sym_difference¥s

cCs=y|i|i8_Wntj
onX|idƒdS(Nsexpected TypeError(R?RR&RG(R	((s)/usr/local/lib/python2.5/test/test_set.pyttest_difference_update_operator­s
cCsA|io|ii|iƒn|it|ii|iƒdS(N(R`R?R½RR%R&(R	((s)/usr/local/lib/python2.5/test/test_set.pyR¾µs

		cssˆit‡fd†ƒˆit‡fd†ƒˆioˆiiˆiƒnˆitˆiiˆiƒdS(NcsˆiˆiS((R?R((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]¾scsˆiˆiS((RR?((R	(s)/usr/local/lib/python2.5/test/test_set.pyR]¿s(R%R&R`R?RRR(R	((R	s)/usr/local/lib/python2.5/test/test_set.pyRS½s

(RRR\R^R_R¸RFRaR»RNRbRcRdReR¾RS(((s)/usr/local/lib/python2.5/test/test_set.pyR[Ss													tTestOnlySetsNumericcBseZd„ZRS(cCs%tdƒ|_d|_t|_dS(Niiii(iii(R?RRYR`(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$Ès	(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRfÇstTestOnlySetsDictcBseZd„ZRS(cCs7tdƒ|_hdd<dd<|_t|_dS(Niiii(iii(R?RR[R`(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$Ðs(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRgÏstTestOnlySetsOperatorcBseZd„ZRS(cCs(tdƒ|_ti|_t|_dS(Niii(iii(R?RR‡RRYR`(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$Øs(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRh×stTestOnlySetsTuplecBseZd„ZRS(cCs%tdƒ|_d|_t|_dS(Niiiii(iii(iii(R?RR[R`(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$às	(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRißstTestOnlySetsStringcBseZd„ZRS(cCs%tdƒ|_d|_t|_dS(NiiiR:(iii(R?RR[R`(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$ès	(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRjçstTestOnlySetsGeneratorcBseZd„ZRS(cCs1d„}tdƒ|_|ƒ|_t|_dS(Ncss&xtdddƒD]}|VqWdS(Nii
i(R‚(RH((s)/usr/local/lib/python2.5/test/test_set.pytgenñsiii(iii(R?RR[R`(R	Rl((s)/usr/local/lib/python2.5/test/test_set.pyR$ðs	(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRkïstTestCopyingcBseZd„Zd„ZRS(cCs–|iiƒ}t|ƒ}|iƒt|iƒ}|iƒ|it|ƒt|ƒƒx5tt|ƒƒD]!}|i||||jƒqmWdS(N(R?RzRBtsortR)R-R¤R(R	Rttdup_listtset_listRH((s)/usr/local/lib/python2.5/test/test_set.pyRªüs

cCs–ti|iƒ}t|ƒ}|iƒt|iƒ}|iƒ|it|ƒt|ƒƒx2tt|ƒƒD]}|i||||ƒqpWdS(N(RzR{R?RBRnR)R-R¤(R	RtRoRpRH((s)/usr/local/lib/python2.5/test/test_set.pyttest_deep_copys

(RRRªRq(((s)/usr/local/lib/python2.5/test/test_set.pyRmús	tTestCopyingEmptycBseZd„ZRS(cCstƒ|_dS(N(R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$s(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRrstTestCopyingSingletoncBseZd„ZRS(cCstdgƒ|_dS(Nthello(R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$s(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRsstTestCopyingTriplecBseZd„ZRS(cCstdddgƒ|_dS(NR
i(R?Ry(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$s(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRustTestCopyingTuplecBseZd„ZRS(cCstdgƒ|_dS(Nii(ii(R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$"s(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRv!stTestCopyingNestedcBseZd„ZRS(cCstddfgƒ|_dS(Niiii(ii(ii(R?(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$(s(RRR$(((s)/usr/local/lib/python2.5/test/test_set.pyRw'stTestIdentitiescBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs"tdƒ|_tdƒ|_dS(Ntabracadabratalacazam(R?RQR)(R	((s)/usr/local/lib/python2.5/test/test_set.pyR$.scCs¼|i|i}}|i|||jƒ|i|||jƒ|i||@|jƒ|i||@|jƒ|i||B|jƒ|i||B|jƒ|i||A||BjƒdS(N(RQR)R1(R	RQR)((s)/usr/local/lib/python2.5/test/test_set.pyttest_binopsVsSubsets2scCsˆ|i|i}}|i||@||@ƒ|i||B||Bƒ|i||A||Aƒ||jo|i||||ƒndS(N(RQR)R)RZ(R	RQR)((s)/usr/local/lib/python2.5/test/test_set.pyttest_commutativity<s
cCsï|i|i}}|i||||@B||B||Bƒ|i||@||AB||Bƒ|i|||B||Bƒ|i|||B||Bƒ|i||||@B|ƒ|i||||@B|ƒ|i||||B||AƒdS(N(RQR)R)(R	RQR)((s)/usr/local/lib/python2.5/test/test_set.pyttest_summationsDs( cCsm|i|itƒ}}}|i|||@|ƒ|i|||@|ƒ|i||@||A@|ƒdS(N(RQR)R?R)(R	RQR)R
((s)/usr/local/lib/python2.5/test/test_set.pyttest_exclusionOs(RRR$R{R|R}R~(((s)/usr/local/lib/python2.5/test/test_set.pyRx-s
		
		ccsx|D]}|VqWdS(sRegular generatorN((tseqnRH((s)/usr/local/lib/python2.5/test/test_set.pytRXstGcBs eZdZd„Zd„ZRS(sSequence using __getitem__cCs
||_dS(N(R(R	R((s)/usr/local/lib/python2.5/test/test_set.pyR_scCs|i|S(N(R(R	RH((s)/usr/local/lib/python2.5/test/test_set.pyt__getitem__as(RRRRR‚(((s)/usr/local/lib/python2.5/test/test_set.pyR]s	tIcBs)eZdZd„Zd„Zd„ZRS(s Sequence using iterator protocolcCs||_d|_dS(Ni(RRH(R	R((s)/usr/local/lib/python2.5/test/test_set.pyRfs	cCs|S(N((R	((s)/usr/local/lib/python2.5/test/test_set.pyt__iter__iscCsF|it|iƒjo
t‚n|i|i}|id7_|S(Ni(RHR-Rt
StopIteration(R	R((s)/usr/local/lib/python2.5/test/test_set.pytnextks

(RRRRR„R†(((s)/usr/local/lib/python2.5/test/test_set.pyRƒds		tIgcBs eZdZd„Zd„ZRS(s9Sequence using iterator protocol defined with a generatorcCs||_d|_dS(Ni(RRH(R	R((s)/usr/local/lib/python2.5/test/test_set.pyRss	ccsx|iD]}|Vq
WdS(N(R(R	tval((s)/usr/local/lib/python2.5/test/test_set.pyR„vs
(RRRRR„(((s)/usr/local/lib/python2.5/test/test_set.pyR‡qs	tXcBs eZdZd„Zd„ZRS(s Missing __getitem__ and __iter__cCs||_d|_dS(Ni(RRH(R	R((s)/usr/local/lib/python2.5/test/test_set.pyR|s	cCsF|it|iƒjo
t‚n|i|i}|id7_|S(Ni(RHR-RR…(R	R((s)/usr/local/lib/python2.5/test/test_set.pyR†s

(RRRRR†(((s)/usr/local/lib/python2.5/test/test_set.pyR‰zs	tNcBs eZdZd„Zd„ZRS(sIterator missing next()cCs||_d|_dS(Ni(RRH(R	R((s)/usr/local/lib/python2.5/test/test_set.pyR‡s	cCs|S(N((R	((s)/usr/local/lib/python2.5/test/test_set.pyR„Šs(RRRRR„(((s)/usr/local/lib/python2.5/test/test_set.pyRŠ…s	tEcBs)eZdZd„Zd„Zd„ZRS(sTest propagation of exceptionscCs||_d|_dS(Ni(RRH(R	R((s)/usr/local/lib/python2.5/test/test_set.pyRs	cCs|S(N((R	((s)/usr/local/lib/python2.5/test/test_set.pyR„’scCsdddS(Nii((R	((s)/usr/local/lib/python2.5/test/test_set.pyR†”s(RRRRR„R†(((s)/usr/local/lib/python2.5/test/test_set.pyR‹s		tScBs)eZdZd„Zd„Zd„ZRS(sTest immediate stopcCsdS(N((R	R((s)/usr/local/lib/python2.5/test/test_set.pyR™scCs|S(N((R	((s)/usr/local/lib/python2.5/test/test_set.pyR„›scCs
t‚dS(N(R…(R	((s)/usr/local/lib/python2.5/test/test_set.pyR†s(RRRRR„R†(((s)/usr/local/lib/python2.5/test/test_set.pyRŒ—s		(tchaintimapcCs(ttd„ttt|ƒƒƒƒƒS(s Test multiple tiers of iteratorscSs|S(((Rs((s)/usr/local/lib/python2.5/test/test_set.pyR]£s(RRŽR€R‡R(R((s)/usr/local/lib/python2.5/test/test_set.pytL¡stTestVariousIteratorArgscBs#eZd„Zd„Zd„ZRS(c	CséxâttfD]Ô}xËddtdƒd	tdddƒfD]¢}xNtttttt	fD]4}|i
t|||ƒƒƒt||ƒƒƒqZW|it
|t|ƒƒ|it
|t|ƒƒ|it|t|ƒƒq;Wq
WdS(
Nt123RKiètdog333333ó?iÐi˜i(R’g333333ó?(R?R0R¤R‚RRƒR‡RŒRR€R)R(R%R&R‰RŠtZeroDivisionErrorR‹(R	tconsR tg((s)/usr/local/lib/python2.5/test/test_set.pyR§s
(2c	Cstdƒ}xddtdƒdtddd	ƒd
fD]Ô}xË|i|i|i|ifD]«}xWttt	t
tfD]@}||ƒ}|t|ƒƒ}|it
|ƒt
|ƒƒqxW|it|t|ƒƒ|it|t|ƒƒ|it|t|ƒƒq\Wq7WdS(NtnovemberR‘RKièR’g333333ó?iÐi˜itdecember(sdog333333ó?(R?R¤R‚R=RMRRRVRRƒR‡RR€R)R(R%R&R‰RŠR“R‹(R	R tdatatmethR•R+R*((s)/usr/local/lib/python2.5/test/test_set.pyttest_inline_methods°s+ c	CsQxJddtdƒdtdddƒd	fD]}xdD]
}xŒttttttfD]r}tdƒ}|i	ƒ}t
||ƒt||ƒƒƒt
||ƒ||ƒƒ|it
|ƒt
|ƒƒqWW|itt
tdƒ|ƒt|ƒƒ|itt
tdƒ|ƒt|ƒƒ|itt
tdƒ|ƒt|ƒƒq8Wq+WdS(NR‘RKièR’g333333ó?iÐi˜iR—R¶RºR½Rœtjanuary(sdog333333ó?(supdatesintersection_updatesdifference_updatessymmetric_difference_update(R¤R‚RRƒR‡RŒRR€R?RzRQRBR)R(R%R&R‰RŠR“R‹(R	R˜tmethnameR•R Rc((s)/usr/local/lib/python2.5/test/test_set.pyttest_inplace_methods¼s+ (((RRRRšR(((s)/usr/local/lib/python2.5/test/test_set.pyR¥s			c!Csddkl}tttttttt	t
ttt
ttttttttttttttttttt t!f }t"i#|Œ|ovt$t%dƒofddk&}dgd}xAt(t)|ƒƒD]-}t"i#|Œ|i*ƒt%i+ƒ||<qÆW|GHndS(Niÿÿÿÿ(t	test_setstgettotalrefcounti(,ttestRžR¢RÈRÌRÎRåRRRRR	RRR,R5RVRWRXRYRZRfRgRhRiRjRkRrRsRuRvRwRxRRtrun_unittestRŒtsystgcRyR‚R-tcollectRŸ(tverboseRžttest_classesR£tcountsRH((s)/usr/local/lib/python2.5/test/test_set.pyt	test_mainÍsV	



t__main__R¥(RtunittestR RtweakrefRRRzRpR™trandomRRR¢t	ExceptionRRRRRRtTestCaseRR¢R?RÇRÈRÉRÌRÎR0RäRåRòRéRRR	RR
RRRRR,R5RGRVRWRXRYRZR[RfRgRhRiRjRkRmRrRsRuRvRwRxR€RRƒR‡R‰RŠR‹RŒt	itertoolsRRŽRRRyR¨RR[(((s)/usr/local/lib/python2.5/test/test_set.pys<module>sŒ	ÿÀ>	Y		
FVJ&t+	
	
		(1


Man Man