Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
±äWc@sddlZddlmZddlZddlZddlZddlZddlZddlm	Z	m
Z
ddlZddlZde
fd„ƒYZd„Zdfd„ƒYZd	fd
„ƒYZdefd„ƒYZd
ejfd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZeƒZ dejfd „ƒYZ!d!e!fd"„ƒYZ"d#e!fd$„ƒYZ#d%e!fd&„ƒYZ$d'e!fd(„ƒYZ%d)e!fd*„ƒYZ&d+e!fd,„ƒYZ'd-e!fd.„ƒYZ(d/„Z)d0„Z*d1ejfd2„ƒYZ+d3ejfd4„ƒYZ,d5ejfd6„ƒYZ-d7ejfd8„ƒYZ.d9ejfd:„ƒYZ/d;ejfd<„ƒYZ0d=e0fd>„ƒYZ1d?e0fd@„ƒYZ2dAe0fdB„ƒYZ3dCe0fdD„ƒYZ4dEe0fdF„ƒYZ5dGejfdH„ƒYZ6dIe6fdJ„ƒYZ7dKe6fdL„ƒYZ8dMe6fdN„ƒYZ9dOe6fdP„ƒYZ:dQe6fdR„ƒYZ;dSejfdT„ƒYZ<dUe<fdV„ƒYZ=dWe<fdX„ƒYZ>dYe<fdZ„ƒYZ?d[e<fd\„ƒYZ@d]e<fd^„ƒYZAd_ejfd`„ƒYZBda„ZCdbfdc„ƒYZDddfde„ƒYZEdffdg„ƒYZFdhfdi„ƒYZGdjfdk„ƒYZHdlfdm„ƒYZIdnfdo„ƒYZJddplKmLZLmMZMdq„ZNdrejfds„ƒYZOdtfdu„ƒYZPdvfdw„ƒYZQdxejfdy„ƒYZRdz„ZSd{„ZTd|„ZUd}„ZVd~ejfd„ƒYZWeXd€„ZYeZdkr
eYd‚e[ƒndS(ƒiÿÿÿÿN(ttest_support(t	randrangetshuffletPassThrucBseZRS((t__name__t
__module__(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR
sccst‚dVdS(Ni(R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytcheck_pass_thrustBadCmpcBseZd„Zd„ZRS(cCsdS(Ni((tself((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__hash__scCs
t‚dS(N(tRuntimeError(Rtother((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__cmp__s(RRR	R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRs	tReprWrappercBseZdZd„ZRS(s*Used to test self-referential repr() callscCs
t|jƒS(N(treprtvalue(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__repr__s(RRt__doc__R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR
stHashCountingIntcBs eZdZd„Zd„ZRS(sBint-like object that counts the number of times __hash__ is calledcGs
d|_dS(Ni(t
hash_count(Rtargs((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__init__!scCs|jd7_tj|ƒS(Ni(RtintR	(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR	#s(RRRRR	(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRs	tTestJointOpscBseZd„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„Zd„Zd„Zd„ZRS(cCsGd|_}d|_d|_|j|ƒ|_tj|ƒ|_dS(Nt
simsalabimt
madagascart4abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(twordt	otherwordtletterstthetypetstdicttfromkeystd(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytsetUp*s

		cCs9|jt|jgdƒ|jttƒjddƒdS(Nitai(tassertRaisest	TypeErrorRtsetR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_new_or_init1scCsdt|jƒ}t|jƒ}|j||ƒ|jt|jtƒƒ|jt|jggƒdS(N(	tsortedRR"tassertEqualR%RRRR&(Rtactualtexpected((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_uniquification5s
cCs&|jt|jƒt|jƒƒdS(N(R*tlenRR"(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_len<scCsx3|jD](}|j||jk||jkƒq
W|jt|jjggƒ|jt|jƒgƒ}|j	|j|jƒ|ƒdS(N(
RR*RR"R%R&t__contains__Rt	frozensettassertIn(RtcR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_contains?s
&cCs/|jj|jƒ}x?|jD]4}|j||k||jkpO||jkƒqW|j|j|j|jƒƒ|jt|ƒ|jƒ|j	t
|jjtƒƒ|j	t|jjggƒxt
ttjttttfD]õ}|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
d	ƒƒ|j|jdƒj|dƒ|d
ƒƒt
dƒƒqæW|jƒ}|j|jt
dgƒ|t
dgƒƒ|jddgƒƒdS(
Ntabcbatcdctabcdtefgfetabcefgtccbtabcteftabceftfgii(RtunionRRR*R"RRttypeR%RRR&R'R1R R!tstrtunicodetlistttuple(RtuR3tCtx((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_unionFs2%....;cCsŒ|jj|jƒ}|j|jt|jƒB|ƒ|j|jt|jƒB|ƒy|j|jBWntk
rznX|jdƒdS(Ns(s|t did not screen-out general iterables(RR?RR*R'R1R&tfail(Rti((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_orYs  
cCs/|jj|jƒ}x?|jD]4}|j||k||jkoO||jkƒqW|j|j|j|jƒƒ|jt|ƒ|jƒ|j	t
|jjtƒƒxtt
tjttttfD]õ}|j|jdƒj|dƒƒtdƒƒ|j|jdƒj|dƒƒtdƒƒ|j|jdƒj|dƒƒtdƒƒ|j|jdƒj|dƒƒtdƒƒ|j|jdƒj|d	ƒ|d
ƒƒtdƒƒqÊW|jdƒ}|jƒ}|jt
ƒkr|jt|ƒt|ƒƒn|jt|ƒt|ƒƒdS(NR5R6tccR8tR:tbcR<tcbcftbagtb(RtintersectionRRR*R"RRR@R%RRR'R1R R!RARBRCRDtidtassertNotEqual(RRJR3RFRtz((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersectionds"2%....;c	CsÀd„}x°dD]¨}|j|ƒ}xd
D]ˆ}xtttjttttfD]_}||ƒ}|j	|ƒ}|||ƒ}|j
||ƒ|j|tkp¬|t
kƒqQWq,WqWdS(NcSst|ƒj|ƒS(s&Pure python equivalent of isdisjoint()(R'RR(ts1ts2((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytfysRMR$tabR;tababacR6RLR8R:R<(
RMR$RZsabcR[scdcsccsefgfesccbsef(
RMR$RZsabcR[scdcsccsefgfesccbsef(RR'R1R R!RARBRCRDt
isdisjointR*t
assertTruetTruetFalse(	RRYtlargRWtrargRFRXR+R,((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_isdisjointxs	

%cCsŒ|jj|jƒ}|j|jt|jƒ@|ƒ|j|jt|jƒ@|ƒy|j|j@Wntk
rznX|jdƒdS(Ns(s&t did not screen-out general iterables(RRRRR*R'R1R&RI(RRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_and†s  
cCs|jj|jƒ}x?|jD]4}|j||k||jkoO||jkƒqW|j|j|j|jƒƒ|jt|ƒ|jƒ|j	t
|jjtƒƒ|j	t|jjggƒx:t
ttjttttfD]}|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒjƒt
dƒƒ|j|jdƒj|dƒ|d	ƒƒt
d
ƒƒqæWdS(NR5R6RZR8R;R:R$R<RQR3(Rt
differenceRRR*R"RRR@R%RRR&R'R1R R!RARBRCRD(RRJR3RF((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference‘s2%....%cCsŒ|jj|jƒ}|j|jt|jƒ|ƒ|j|jt|jƒ|ƒy|j|jWntk
rznX|jdƒdS(Ns(s-t did not screen-out general iterables(RRdRR*R'R1R&RI(RRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sub¡s  
cCsª|jj|jƒ}x=|jD]2}|j||k||jk||jkAƒqW|j|j|j|jƒƒ|jt|ƒ|jƒ|j	t
|jjtƒƒ|j	t|jjggƒxÞt
ttjttttfD]¾}|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
dƒƒ|j|jdƒj|dƒƒt
d	ƒƒqäWdS(
NR5R6tabdR8R9R:R$R<R=(Rtsymmetric_differenceRRR*R"RRR@R%RRR&R'R1R R!RARBRCRD(RRJR3RF((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_symmetric_difference¬s0%...cCsŒ|jj|jƒ}|j|jt|jƒA|ƒ|j|jt|jƒA|ƒy|j|jAWntk
rznX|jdƒdS(Ns(s^t did not screen-out general iterables(RRhRR*R'R1R&RI(RRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_xorºs  
cCs¬|j|jt|jƒƒ|j|jt|jƒƒ|j|j|jktƒ|j|jt|jƒƒ|j|jt|jƒƒ|j|j|jktƒdS(N(	R*RR'RR1R_RTRR^(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_equalityÅscCsGttdddddgƒ}|j|ƒ}|jt|ƒdƒdS(Ntabcdeftbcdtbdcbtfedtfedccbai(tmapR1RR*R.(RttR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_setOfFrozensetsÍscCs |jt|jj|jƒdS(N(R%R&RR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_compareÒscCsCt|jdddgƒ\}}}|j||kƒ|j||kƒ|j||kƒ|j||kƒ|j||kƒ|j||kƒ|j||kƒ|j||kƒ|j||kƒ|jtdƒjdƒƒ|jtdƒjdƒƒ|jtdƒjdƒƒ|jtdƒjdƒƒdS(NRZtabcdetdefR$R;tcbs(RqRR]tassertFalseR'tissubsett
issuperset(Rtptqtr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sub_and_superÕs$cCsÐxÉttjdƒD]´}tj|j|ƒ}tj|ƒ}|j|j|d|j|fƒt|jƒtt	fkrd|j_
tj|j|ƒ}tj|ƒ}|j|jj
|j
ƒqqWdS(Nis%s != %si
(trangetpickletHIGHEST_PROTOCOLtdumpsRtloadsR*R@R'R1RG(RRJR{tdup((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_picklingås#cs³dd‡fd†ƒY‰ˆdƒ}|j|gƒ}tj|ƒ}|jt|ƒt|ƒƒx|D]}|}qiW|jt|ƒt|ƒƒ|j|jd|jƒdS(NtTracercs,eZd„Zd„Zd‡fd†ZRS(cSs
||_dS(N(R(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRòscSs|jS(N(R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR	ôscsˆ|jdƒS(Ni(R(Rtmemo(R†(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__deepcopy__ösN(RRRR	tNoneRˆ((R†(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR†ñs		i
i((RtcopytdeepcopyRTRSR*R(RRrRR„telemtnewt((R†sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_deepcopyðs

csnddd„ƒY‰t‡fd†tdƒDƒƒ}x2|D]*}||_||_t|gƒ|_q<WdS(NtAcBseZRS((RR(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRsc3s|]}ˆƒVqdS(N((t.0RJ(R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>siè((R'txrangetcycletsub(RRRŒ((RsE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_gcs"
		cCssd|jfd„ƒY}|ƒ}tƒ}|j|ƒ|j||ƒ|j|ƒ|j|ƒ|j|ƒdS(NtHcBseZd„ZRS(cSstt|ƒd@ƒS(Niÿÿÿ(RRS(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR	s(RRR	(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•
s(RR'taddR2tremovetdiscard(RR•RRY((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_subclass_with_custom_hashs		


cCs±|jtƒgƒ}|jt|jtƒtƒgƒ|jt|jtƒƒt|dƒr­|jt|jtƒƒ|jt|jtƒƒ|jt|jtƒƒndS(NR–(	RRR%R
R0thasattrR–R˜R—(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_badcmps"cCsatƒ}|j|gƒ}||_t|ƒjdƒd}|jt|ƒd||fƒdS(Nt(is
%s([%s(...)])(R
RRRt	partitionR*(RtwRtname((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_cyclical_repr#s
		cCsžtƒ}|j|gƒ}||_ttjdƒ}zF||I|jƒttjdƒ}|j|jƒt	|ƒƒWd|jƒtj
tjƒXdS(Ntwbtrb(R
RRtopenRtTESTFNtcloseR*treadRtunlink(RRžRtfo((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_cyclical_print*s		

 
cCs¡d}tjttt|ƒƒƒ}|jtd„|Dƒƒ|ƒ|j|ƒ}|jtd„|Dƒƒ|ƒ|j|ƒ|jtd„|Dƒƒ|ƒt	|dƒr¿|j
|ƒn|jtd„|Dƒƒ|ƒtjt|ƒƒ}|jtd„|Dƒƒ|ƒtjt|ƒƒ}|jtd„|Dƒƒ|ƒtjt|ƒd	ƒ}|jtd
„|Dƒƒ|ƒ|j|tj|d	ƒƒdS(Ni
css|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>;scss|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>=scss|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>?stsymmetric_difference_updatecss|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>Bscss|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>Dscss|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>Fsi{css|]}|jVqdS(N(R(RRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>Hs(
R R!RqRR‘R*tsumRRdRšRªR'R1(RtnR"Rtd2td3((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_do_not_rehash_dict_keys8s"  
     cCs|dtfd„ƒY}|ƒ}tj|ƒ}t|dgƒ}t|ƒ|_~~tjƒ|j|ƒdkdƒdS(NRFcBseZRS((RR(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRFMsisCycle was not collected(
tobjecttweakreftrefR'titerRGtgctcollectR]R‰(RRFtobjR²t	container((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_container_iteratorKs	
cCstj|t|jƒdS(N(Rtcheck_free_after_iteratingR³R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_free_after_iteratingWs(RRR#R(R-R/R4RHRKRVRbRcReRfRiRjRkRsRtR~R…RŽR”R™R›R R©R¯R¸Rº(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR's8																					
	
					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„Zd„Zejeedƒdƒd„ƒZRS(cCs‘|jƒ}|j|jƒ|j|t|jƒƒ|j|jƒ|j|t|jƒƒ|jt|j|dƒ|jt|jdƒdS(Nii(RRRR*R'RR%R&(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_init]scCsD|jtdƒƒ}|j|ƒ}|jt|ƒt|ƒƒdS(Ni(RRRTRS(RRRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_constructor_identityfscCs|jtt|jƒdS(N(R%R&thashR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_hashkscCs@|jjƒ|j|jtƒƒ|jt|jƒdƒdS(Ni(RtclearR*R'R.(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_clearns
cCsE|jjƒ}|j|j|ƒ|jt|jƒt|ƒƒdS(N(RRŠR*RTRS(RR„((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_copysscCsr|jjdƒ|jd|jƒ|jjƒ}|jjdƒ|j|j|ƒ|jt|jjgƒdS(NtQ(RR–R2RŠR*R%R&(RR„((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_addxscCsê|jjdƒ|jd|jƒ|jt|jjdƒ|jt|jjgƒ|jt|jƒgƒ}|j	|j|jƒ|ƒ|j|j|jƒƒ|j|j|jƒ|ƒ|jt|jj|j|jƒƒdS(NR$RÃ(
RR—tassertNotInR%tKeyErrorR&RR1RR2(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_remove€scCslxeddgD]W}y|jj|ƒWn0tk
rY}|jd}|j||ƒq
X|jƒq
WdS(NRÃii(i(RR—RÆRR*RI(Rtv1tetv2((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_remove_keyerror_unpacking‹s
cCs}|jddgƒ}y|jj|ƒWnCtk
rn}|j|jd|kdj||jdƒƒnX|jƒdS(NiiisKeyError should be {0}, not {1}(RRR—RÆR]RtformatRI(RtkeyRÉ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_remove_keyerror_set–s	cCsÕ|jjdƒ|jd|jƒ|jjdƒ|jt|jjgƒ|jt|jƒgƒ}|j|j|jƒ|ƒ|j|j|jƒƒ|j|j|jƒ|ƒ|j|j|jƒƒdS(NR$RÃ(	RR˜RÅR%R&RR1RR2(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_discard¡scCs\x?tt|jƒƒD](}|jjƒ}|j||jƒqW|jt|jjƒdS(N(R‘R.RtpopRÅR%RÆ(RRJRŒ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_pop¬scCsÀ|jj|jƒ}|j|dƒx+|j|jD]}|j||jƒq6W|jt|jjt	ƒƒ|jt
|jjggƒxdd
ddfD]y\}}xjttt
jttttfD]J}|jd	ƒ}|j|j||ƒƒdƒ|j|t|ƒƒqÉWqžWxždD]–}d}x‡ttt
jttttfD]g}|jd	ƒ}|j|j||ƒ||ƒƒdƒ|j|t|ƒt|ƒBt|ƒBƒqMWq"WdS(NR6R7R8R9R:R;R<R=R5tabcdatahi(scdcsabcd(sefgfesabcefg(sccbsabc(sefsabcef(scdcsefgfesccbsefRÒ(RtupdateRR*R‰RR2R%RRR&R'R1R R!RARBRCRDR(RtretvalR3R{R|RFR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_update²s"%
%(cCsJ|jt|jƒO_x+|j|jD]}|j||jƒq)WdS(N(RR'RRR2(RR3((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_iorÅsc	CsÀ|jj|jƒ}|j|dƒx_|j|jD]M}||jkrp||jkrp|j||jƒq6|j||jƒq6W|jt	|jjt
ƒƒ|jt|jjggƒxúd
ddd
fD]æ\}}x×tt
tjttttfD]·}|jdƒ}|j|j||ƒƒdƒ|j|t|ƒƒd}|j|ƒ}d	}|j|j||ƒ||ƒƒdƒ|j|tdƒt|ƒ@t|ƒ@ƒqýWqÒWdS(NR6R3R8RMR:RNR<R5tcbc(scdcR3(sefgfeRM(sccbsbc(sefRM(Rtintersection_updateRR*R‰RR2RÅR%RRR&R'R1R R!RARBRCRDR(	RRÕR3R{R|RFRtssRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_updateÊs$%(cCs~|jt|jƒM_x_|j|jD]M}||jkrc||jkrc|j||jƒq)|j||jƒq)WdS(N(RR'RRR2RÅ(RR3((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_iandßs
cCs |jj|jƒ}|j|dƒx_|j|jD]M}||jkrp||jkrp|j||jƒq6|j||jƒq6W|jt	|jjt
ƒƒ|jt|jjggƒ|jt|jjggƒx>d
dddfD]*\}}xt
ttjttttfD]û}|jdƒ}|j|j||ƒƒdƒ|j|t
|ƒƒ|jd	ƒ}|jƒ|j||jd	ƒƒ|jd	ƒ}|j|d
ƒƒ|j||jdƒƒ|jd	ƒ}|j|dƒ|d
ƒƒ|j||jdƒƒqWqîWdS(NR6RZR8R;R:R$R<R5t
abcdefghihtabatcdefghihtefghih(scdcsab(sefgfesabc(sccbR$(sefsabc(Rtdifference_updateRR*R‰RR2RÅR%RRR&RªR'R1R R!RARBRCRDR(RRÕR3R{R|RFR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_updateçs.%
cCs~|jt|jƒ8_x_|j|jD]M}||jkrc||jkrc|j||jƒq)|j||jƒq)WdS(N(RR'RRR2RÅ(RR3((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_isubs
cCsQ|jj|jƒ}|j|dƒx]|j|jD]K}||jk||jkArn|j||jƒq6|j||jƒq6W|jt	|jjt
ƒƒ|jt|jjggƒxd
ddd
fD]y\}}xjtt
tjttttfD]J}|jd	ƒ}|j|j||ƒƒdƒ|j|t|ƒƒqûWqÐWdS(NR6RgR8R9R:R$R<R=R5(scdcsabd(sefgfesabcefg(sccbR$(sefsabcef(RRªRR*R‰RR2RÅR%RRR&R'R1R R!RARBRCRDR(RRÕR3R{R|RFR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt test_symmetric_difference_updates%cCs||jt|jƒN_x]|j|jD]K}||jk||jkAra|j||jƒq)|j||jƒq)WdS(N(RR'RRR2RÅ(RR3((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_ixors
cCsœ|jjƒ}||O}|j||jƒ||M}|j||jƒ||8}|j||jƒƒ|jjƒ}||N}|j||jƒƒdS(N(RRŠR*R(RRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_inplace_on_self$s



cCsW|jdƒ}tj|ƒ}|jt|ƒt|ƒƒd}|jtt|ƒdS(Ntgallahad(RR±tproxyR*RAR‰R%tReferenceError(RRR{((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_weakref0s
t
test_c_apis*C API test only available in a debug buildcCs|jtƒjƒtƒdS(N(R*R'RëR^(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRë7s(RRR'RR¼R½R¿RÁRÂRÄRÇRËRÎRÏRÑRÖR×RÛRÜRâRãRäRåRæRêtunittestt
skipUnlessRšRë(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR»Zs0																						tSetSubclasscBseZRS((RR(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRî<stTestSetSubclasscBseZeZRS((RRRîR(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRï?stSetSubclassWithKeywordArgscBseZgdd„ZRS(cCstj||ƒdS(N(R'R(Rtiterabletnewarg((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRCsN(RRR‰R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRðBstTestSetSubclassWithKeywordArgscBseZd„ZRS(cCstddƒdS(s=SF bug #1486663 -- this used to erroneously raise a TypeErrorRòiN(Rð(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_keywords_in_subclassHs(RRRô(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRóFst
TestFrozenSetcBsVeZeZd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„ZRS(cCs?|j|jƒ}|j|jƒ|j|t|jƒƒdS(N(RRRRR*R'(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¼OscCs¡tƒ}tƒtgƒtdƒtdƒtƒtgƒtdƒtdƒttdƒƒttƒƒt|ƒ|g}|jtttt|ƒƒƒdƒdS(NRMii(((R1R‘R*R.R'RqRS(RRYtefs((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_singleton_empty_frozensetTs	!!cCsD|jtdƒƒ}|j|ƒ}|jt|ƒt|ƒƒdS(Ni(RRR*RS(RRRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR½]scCs¹|jt|jdƒƒt|jdƒƒƒd}gt|ƒD]}t|ƒ^qA}tƒ}x:tdƒD],}t|ƒ|jt|j|ƒƒƒqoW|jt|ƒdƒdS(NtabcdebtebecdaidiÈi(	R*R¾RR‘RR'RR–R.(RR¬RJtseqtresults((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¿bs%	
 cCs2|jjƒ}|jt|jƒt|ƒƒdS(N(RRŠR*RS(RR„((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÂoscCs•tdƒtdƒdg}|j|ƒ}|jt|ƒƒ}|j||ƒ|jt|ƒt|ƒƒi}d||<|j||dƒdS(Ni
tabcdefgtapplei*(RRCRtreversedR*RTRS(RRútkey1tkey2R"((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_frozen_as_dictkeyss
cCs/|jdƒ}|jt|ƒt|ƒƒdS(Ntabcdcda(RR*R¾(RRY((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_hash_caching}scCs·d}tƒ}|j}gt|ƒD]}|dd|>f^q%}xQtd|ƒD]?}|ttg|D]\}}||@rl|^qlƒƒƒqVW|jt|ƒd|ƒdS(Ni
ii(R'R–RR‘R¾R1R*R.(RR¬t
hashvaluestaddhashvalueRJt	elemmasksRÉtm((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_hash_effectivenesss		-=(RRR1RR¼R÷R½R¿RÂRRR(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRõLs					
		
	tFrozenSetSubclasscBseZRS((RR(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR	ŠstTestFrozenSetSubclasscBs2eZeZd„Zd„Zd„Zd„ZRS(cCsD|jtdƒƒ}|j|ƒ}|jt|ƒt|ƒƒdS(Ni(RRRTRS(RRRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR½scCs2|jjƒ}|jt|jƒt|ƒƒdS(N(RRŠRTRS(RR„((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•scCs/|jƒ}|j|ƒ}|j||ƒdS(N(RR*(RRRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_nested_empty_constructor™scCsÑ|j}tƒ}|ƒ}|ƒ|gƒ|dƒ|dƒ|ƒ|gƒ|dƒ|dƒ|tdƒƒ||ƒƒ|tƒƒ||||ƒ||ƒg}|jtttt|ƒƒƒt|ƒƒdS(NRMi(((RR1R‘R*R.R'RqRS(Rt	FrozensetRYtFRö((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR÷žs			!!*(RRR	RR½RÂRR÷(((sE/opt/chartboost/applications/python2.7/lib/python2.7/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„Zd„Zd„Zd„Zd„ZRS(cCs2|jdk	r.|jt|jƒ|jƒndS(N(RR‰R*R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_repr±scCs›t|jƒ}|j|jdƒƒ|j|jdƒƒ|dd!jdƒ}|jƒg|jD]}t|ƒ^qe}|jƒ|j||ƒdS(Nt{t}iiÿÿÿÿs, (	RR'R]t
startswithtendswithtsplittsorttvaluesR*(RttexttresultRtsorted_repr_values((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytcheck_repr_against_valuesµs
"
cCs€ttjdƒ}zL||jI|jƒttjdƒ}|j|jƒt|jƒƒWd|jƒtjtjƒXdS(NR¡R¢(	R£RR¤R'R¥R*R¦RR§(RR¨((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_printÀs

#
cCs |jt|jƒ|jƒdS(N(R*R.R'tlength(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_lengthËscCs|j|j|jƒdS(N(R*R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_self_equalityÎscCs|j|j|jƒdS(N(R*R'R„(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_equivalent_equalityÑscCs |j|jjƒ|jƒdS(N(R*R'RŠR„(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÂÔscCs'|j|jB}|j||jƒdS(N(R'R*R„(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_self_union×scCs$|jtB}|j||jƒdS(N(R't	empty_setR*R„(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_empty_unionÛs
cCs$t|jB}|j||jƒdS(N(R!R'R*R„(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_union_emptyßs
cCs'|j|j@}|j||jƒdS(N(R'R*R„(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_self_intersectionãscCs!|jt@}|j|tƒdS(N(R'R!R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_empty_intersectionçs
cCs!t|j@}|j|tƒdS(N(R!R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_emptyës
cCs-|jj|jƒ}|j||jƒdS(N(R'R\R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_self_isdisjointïscCs&|jjtƒ}|j|tƒdS(N(R'R\R!R*R^(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_empty_isdisjointóscCs&tj|jƒ}|j|tƒdS(N(R!R\R'R*R^(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_isdisjoint_empty÷scCs$|j|jA}|j|tƒdS(N(R'R*R!(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_self_symmetric_differenceûscCs$|jtA}|j||jƒdS(N(R'R!R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_empty_symmetric_differenceÿs
cCs$|j|j}|j|tƒdS(N(R'R*R!(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_self_differencescCs$|jt}|j||jƒdS(N(R'R!R*R„(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_empty_differences
cCs!t|j}|j|tƒdS(N(R!R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_empty_difference_revs
cCsYx$|jD]}|j||jƒq
Wt|jƒ}|j|jƒt|jƒƒdS(N(R'R2RR³R*t__length_hint__R.(Rtvtsetiter((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_iterationscCsixbttjdƒD]M}tj|j|ƒ}tj|ƒ}|j|j|d|j|fƒqWdS(Nis%s != %s(RR€RR‚R'RƒR*(RtprotoR{RŠ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR…s
(RRRRRRRRRÂR R"R#R$R%R&R'R(R)R*R+R,R-R.R2R…(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¯s.																						tTestBasicOpsEmptycBseZd„ZRS(cCsLd|_g|_t|jƒ|_t|jƒ|_d|_d|_dS(Ns	empty setisset([])(tcaseRR'R„RR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#!s			(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR4 stTestBasicOpsSingletoncBs#eZd„Zd„Zd„ZRS(cCsOd|_dg|_t|jƒ|_t|jƒ|_d|_d|_dS(Nsunit set (number)iisset([3])(R5RR'R„RR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#,s		cCs|jd|jƒdS(Ni(R2R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_in4scCs|jd|jƒdS(Ni(RÅR'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_not_in7s(RRR#R7R8(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR6+s		tTestBasicOpsTuplecBs#eZd„Zd„Zd„ZRS(cCsOd|_dg|_t|jƒ|_t|jƒ|_d|_d|_dS(Nsunit set (tuple)itzeroisset([(0, 'zero')])(iszero(R5RR'R„RR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#=s		cCs|jd|jƒdS(NiR:(iszero(R2R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR7EscCs|jd|jƒdS(Ni	(RÅR'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR8Hs(RRR#R7R8(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR9<s		tTestBasicOpsTriplecBseZd„ZRS(cCsXd|_ddtjg|_t|jƒ|_t|jƒ|_d|_d|_dS(Ns
triple setiR:i(	R5toperatorR–RR'R„RR‰R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#Ns		(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR;MstTestBasicOpsStringcBseZd„Zd„ZRS(cCsLd|_dddg|_t|jƒ|_t|jƒ|_d|_dS(Ns
string setR$RQR3i(R5RR'R„R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#Ys
	cCs|jƒdS(N(R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR`s(RRR#R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR=Xs	tTestBasicOpsUnicodecBseZd„Zd„ZRS(cCsLd|_dddg|_t|jƒ|_t|jƒ|_d|_dS(Nsunicode setuaubuci(R5RR'R„R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#fs
	cCs|jƒdS(N(R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRms(RRR#R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR>es	tTestBasicOpsMixedStringUnicodecBseZd„Zd„ZRS(cCsOd|_ddddg|_t|jƒ|_t|jƒ|_d|_dS(Nsstring and bytes setR$RQuaubi(R5RR'R„R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#ss
	cCs!tjƒ|jƒWdQXdS(N(Rtcheck_warningsR(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRzs
(RRR#R(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR?rs	ccst‚tVdS(N(R&R^(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytbaditer€sccs	tVdS(N(R^(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytgooditer„stTestExceptionPropagationcBs)eZdZd„Zd„Zd„ZRS(s?SF 628246:  Set constructor should not trap iterator TypeErrorscCs|jtttƒƒdS(N(R%R&R'RA(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_instanceWithExceptionŠscCsgtdddgƒtdƒtidd6dd6dd6ƒttdƒƒtdƒttƒƒdS(	NiiitonettwotthreeR;(iii(R'R‘RB(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_instancesWithoutExceptions

cCs_tdddgƒ}y%x|D]}|jdgƒqWWntk
rMnX|jdƒdS(Niiiis0no exception when changing size during iteration(R'RÔR
RI(RRRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_changingSizeWhileIterating–s

(RRRRDRHRI(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRC‡s			t
TestSetOfSetscBseZd„ZRS(cCs~tdgƒ}t|gƒ}|jƒ}|jt|ƒtƒ|j|ƒ|j|ƒ|j|tƒƒ|j|ƒdS(Ni(R1R'RÐR*R@R–R—R˜(Rtinnertoutertelement((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_constructor£s

(RRRN(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRJ¢st
TestBinaryOpscBs³eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„Zd„Zd„ZRS(cCstdƒ|_dS(Niii(iii(R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#°scCs2|j|jtidd6dd6dd6ƒƒdS(Niiiiii(R*R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_eq³scCs0|jtdgƒB}|j|tdƒƒdS(Niii(iii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_union_subset¶scCsE|jtddddgƒB}|j|tddddgƒƒdS(Niiii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_union_supersetºscCsE|jtdddgƒB}|j|tdddddgƒƒdS(Niiiii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_union_overlap¾scCs<|jtdgƒB}|j|tddddgƒƒdS(Niiii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_union_non_overlapÂscCs-|jtdƒ@}|j|tdƒƒdS(Nii(ii(ii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_subsetÆscCsB|jtddddgƒ@}|j|tdddgƒƒdS(Niiii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_supersetÊscCs9|jtdddgƒ@}|j|tdgƒƒdS(Niii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_overlapÎscCs*|jtdgƒ@}|j|tƒdS(Ni(R'R*R!(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_non_overlapÒscCs,|jjtdƒƒ}|j|tƒdS(Nii(ii(R'R\R*R_(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_isdisjoint_subsetÖscCs8|jjtddddgƒƒ}|j|tƒdS(Niiii(R'R\R*R_(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_isdisjoint_supersetÚs$cCs5|jjtdddgƒƒ}|j|tƒdS(Niii(R'R\R*R_(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_isdisjoint_overlapÞs!cCs/|jjtdgƒƒ}|j|tƒdS(Ni(R'R\R*R^(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_isdisjoint_non_overlapâscCs0|jtdƒA}|j|tdgƒƒdS(Niii(ii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference_subsetæscCs0|jtdƒA}|j|tdgƒƒdS(Niiii(iiii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference_supersetêscCs9|jtdƒA}|j|tddddgƒƒdS(Niiiii(iii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference_overlapîscCs<|jtdgƒA}|j|tddddgƒƒdS(Niiii(R'R*(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference_non_overlapòscCsLtdƒtdƒ}}|jtt||ƒ|jt||ƒdƒdS(NR$RQi(R'R%R&tcmpR*(RR$RQ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_cmpös(RRR#RPRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R`Rb(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRO¯s&																		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((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#scCs5|jtdgƒO_|j|jtdƒƒdS(Niii(iii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRQscCsJ|jtddddgƒO_|j|jtddddgƒƒdS(Niiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRRs!cCsJ|jtdddgƒO_|j|jtdddddgƒƒdS(Niiiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRSscCsA|jtdgƒO_|j|jtddddgƒƒdS(Niiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRTscCsK|jjtdddgƒƒ|j|jtdddddgƒƒdS(Niiiii(R'RÔR*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_union_method_callscCs2|jtdƒM_|j|jtdƒƒdS(Nii(ii(ii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRUscCsG|jtddddgƒM_|j|jtdddgƒƒdS(Niiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRVs!cCs>|jtdddgƒM_|j|jtdgƒƒdS(Niii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRW#scCs/|jtdgƒM_|j|jtƒdS(Ni(R'R*R!(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRX'scCs?|jjtdddgƒƒ|j|jtdgƒƒdS(Niii(R'RÙR*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_intersection_method_call+scCs5|jtdƒN_|j|jtdgƒƒdS(Niii(ii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR]/scCs5|jtdƒN_|j|jtdgƒƒdS(Niiii(iiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR^3scCs>|jtdƒN_|j|jtddddgƒƒdS(Niiiii(iii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR_7scCsA|jtdgƒN_|j|jtddddgƒƒdS(Niiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR`;scCsH|jjtdddgƒƒ|j|jtddddgƒƒdS(Niiiii(R'RªR*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference_method_call?scCs5|jtdƒ8_|j|jtdgƒƒdS(Niii(ii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_subsetCscCs2|jtdƒ8_|j|jtgƒƒdS(Niiii(iiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_supersetGscCs8|jtdƒ8_|j|jtddgƒƒdS(Niiiii(iii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_overlapKscCs>|jtdgƒ8_|j|jtdddgƒƒdS(Niiii(R'R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_non_overlapOscCsB|jjtdddgƒƒ|j|jtddgƒƒdS(Niiiii(R'RáR*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_method_callSs(RRR#RQRRRSRTRdRURVRWRXReR]R^R_R`RfRgRhRiRjRk(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRcs*																				t
TestMutatecBs†eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„ZRS(cCs(dddg|_t|jƒ|_dS(NR$RQR3(RR'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#ZscCs-|jjdƒ|j|jtdƒƒdS(NR3R;(R'R–R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_add_present^scCs-|jjdƒ|j|jtdƒƒdS(NR"R7(R'R–R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_add_absentbscCsgtƒ}d}x>|jD]3}|j|ƒ|d7}|jt|ƒ|ƒqW|j||jƒdS(Nii(R'RR–R*R.(Rttmptexpected_lenR0((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_add_until_fullfs	

cCs-|jjdƒ|j|jtdƒƒdS(NRQtac(R'R—R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_remove_presentoscCs9y!|jjdƒ|jdƒWntk
r4nXdS(NR"s7Removing missing element should have raised LookupError(R'R—RItLookupError(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_remove_absentss

cCsZt|jƒ}xD|jD]9}|jj|ƒ|d8}|jt|jƒ|ƒqWdS(Ni(R.R'RR—R*(RRpR0((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_remove_until_emptyzs

cCs-|jjdƒ|j|jtdƒƒdS(NR3RZ(R'R˜R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_discard_presentscCs-|jjdƒ|j|jtdƒƒdS(NR"R;(R'R˜R*(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_discard_absent…scCs*|jjƒ|jt|jƒdƒdS(Ni(R'RÀR*R.(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÁ‰s
cCspi}x |jr(d||jjƒ<q	W|jt|ƒt|jƒƒx!|jD]}|j||ƒqRWdS(N(R'R‰RÐR*R.RR2(RtpoppedR0((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRэscCs0|jjdƒ|j|jt|jƒƒdS(N((R'RÔR*R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_update_empty_tuple•scCs0|jjdƒ|j|jt|jƒƒdS(NR$(R$(R'RÔR*R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_update_unit_tuple_overlap™scCs7|jjdƒ|j|jt|jdgƒƒdS(NR$RU(R$RU(R'RÔR*R(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt"test_update_unit_tuple_non_overlaps(RRR#RmRnRqRsRuRvRwRxRÁRÑRzR{R|(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRlYs														tTestSubsetscBsUeZidd6dd6Zidd6dd6dd6dd6dd6dd6Zd„ZRS(	Rys<=Rzs>=s==s!=t>t<cCs|j}|j}xd	D]þ}||jk}td|dtƒƒ}|j||ƒ|tjkrœt|tj|ƒ}||ƒ}|j||ƒntj	|}td|dtƒƒ}|j||ƒ|tjkrt|tj|ƒ}||ƒ}|j||ƒqqWdS(
Ns!=s==Rs<=R~s>=RGty(s!=s==Rs<=R~s>=(
tlefttrighttcasestevaltlocalsR*R}tcase2methodtgetattrtreverse(RRGR€R5R,Rtmethodtrcase((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_issubset±s"		

(RRR†RˆR‹(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR}£s



tTestSubsetEqualEmptycBs&eZeƒZeƒZdZdZRS(s
both emptys==s<=s>=(s==s<=s>=(RRR'RR‚RŸRƒ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRŒÉs		tTestSubsetEqualNonEmptycBs8eZeddgƒZeddgƒZdZdZRS(iis
equal pairs==s<=s>=(s==s<=s>=(RRR'RR‚RŸRƒ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÑstTestSubsetEmptyNonEmptycBs/eZeƒZeddgƒZdZdZRS(iisone empty, one non-emptys!=Rs<=(s!=Rs<=(RRR'RR‚RŸRƒ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRŽÙs	tTestSubsetPartialcBs5eZedgƒZeddgƒZdZdZRS(iis&one a non-empty proper subset of others!=Rs<=(s!=Rs<=(RRR'RR‚RŸRƒ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRástTestSubsetNonOverlapcBs2eZedgƒZedgƒZdZdZRS(iisneither empty, neither containss!=(RRR'RR‚RŸRƒ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRéstTestOnlySetsInBinaryOpscBs}eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„ZRS(
cCst|j|j|jktƒ|j|j|jktƒ|j|j|jktƒ|j|j|jktƒdS(N(R*RR'R_R^(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt
test_eq_neóscCs;y|j|jO_Wntk
r)nX|jdƒdS(Nsexpected TypeError(R'RR&RI(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_update_operatorús

cCs?|jr|jj|jƒn|jt|jj|jƒdS(N(totherIsIterableR'RÔRR%R&(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÖs	csqˆjt‡fd†ƒˆjt‡fd†ƒˆjrQˆjjˆjƒnˆjtˆjjˆjƒdS(NcsˆjˆjBS(N(R'R((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt<lambda>	scsˆjˆjBS(N(RR'((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•
s(R%R&R”R'R?R(R((RsE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRHs
	cCs;y|j|jM_Wntk
r)nX|jdƒdS(Nsexpected TypeError(R'RR&RI(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt!test_intersection_update_operators

cCs?|jr|jj|jƒn|jt|jj|jƒdS(N(R”R'RÙRR%R&(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÛs
			csqˆjt‡fd†ƒˆjt‡fd†ƒˆjrQˆjjˆjƒnˆjtˆjjˆjƒdS(Ncsˆjˆj@S(N(R'R((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•!scsˆjˆj@S(N(RR'((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•"s(R%R&R”R'RRR(R((RsE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRV s
	cCs;y|j|jN_Wntk
r)nX|jdƒdS(Nsexpected TypeError(R'RR&RI(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt#test_sym_difference_update_operator(s

cCs?|jr|jj|jƒn|jt|jj|jƒdS(N(R”R'RªRR%R&(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference_update0s
			csqˆjt‡fd†ƒˆjt‡fd†ƒˆjrQˆjjˆjƒnˆjtˆjjˆjƒdS(NcsˆjˆjAS(N(R'R((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•9scsˆjˆjAS(N(RR'((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•:s(R%R&R”R'RhR(R((RsE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_sym_difference8s
	cCs;y|j|j8_Wntk
r)nX|jdƒdS(Nsexpected TypeError(R'RR&RI(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_difference_update_operator@s

cCs?|jr|jj|jƒn|jt|jj|jƒdS(N(R”R'RáRR%R&(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRâHs
			csqˆjt‡fd†ƒˆjt‡fd†ƒˆjrQˆjjˆjƒnˆjtˆjjˆjƒdS(NcsˆjˆjS(N(R'R((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•QscsˆjˆjS(N(RR'((R(sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•Rs(R%R&R”R'RdR(R((RsE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRePs
	(RRR’R“RÖRHR–RÛRVR—R˜R™RšRâRe(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR‘ñs												tTestOnlySetsNumericcBseZd„ZRS(cCs%tdƒ|_d|_t|_dS(Niiii(iii(R'RR_R”(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#[s	(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR›ZstTestOnlySetsDictcBseZd„ZRS(cCs3tdƒ|_idd6dd6|_t|_dS(Niiii(iii(R'RR^R”(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#cs(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRœbstTestOnlySetsTuplecBseZd„ZRS(cCs%tdƒ|_d|_t|_dS(Niiiii(iii(iii(R'RR^R”(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#ks	(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRjstTestOnlySetsStringcBseZd„ZRS(cCs%tdƒ|_d|_t|_dS(NiiiR;(iii(R'RR^R”(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#ss	(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRžrstTestOnlySetsGeneratorcBseZd„ZRS(cCs1d„}tdƒ|_|ƒ|_t|_dS(Ncss&xtdddƒD]}|VqWdS(Nii
i(R‘(RJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytgen|siii(iii(R'RR^R”(RR ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#{s	(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRŸzstTestCopyingcBseZd„Zd„ZRS(cCs‘t|jjƒƒ}|jt|ƒt|jƒƒxI|jD]>}|j||ƒ|j|ƒ}|j||j|ƒƒq>W|j	|ƒdS(N(
RCR'RŠR*R.R2tindextassertIsRÐRx(RR„teltpos((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR‡scCs)tj|jƒ}|j||jƒdS(N(RŠR‹R'tassertSetEqual(RR„((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_deep_copys(RRRÂR§(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¡…s		tTestCopyingEmptycBseZd„ZRS(cCstƒ|_dS(N(R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#—s(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¨–stTestCopyingSingletoncBseZd„ZRS(cCstdgƒ|_dS(Nthello(R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#s(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR©œstTestCopyingTriplecBseZd„ZRS(cCstdddgƒ|_dS(NR:i(R'R‰(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#£s(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR«¢stTestCopyingTuplecBseZd„ZRS(cCstdgƒ|_dS(Nii(ii(R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#©s(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¬¨stTestCopyingNestedcBseZd„ZRS(cCstddfgƒ|_dS(Niiii(ii(ii(R'(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#¯s(RRR#(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR­®stTestIdentitiescBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs"tdƒ|_tdƒ|_dS(Ntabracadabratalacazam(R'R$RQ(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR#µscCs¼|j|j}}|j|||kƒ|j|||kƒ|j||@|kƒ|j||@|kƒ|j||B|kƒ|j||B|kƒ|j||A||BkƒdS(N(R$RQR](RR$RQ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_binopsVsSubsets¹scCs†|j|j}}|j||@||@ƒ|j||B||Bƒ|j||A||Aƒ||kr‚|j||||ƒndS(N(R$RQR*RT(RR$RQ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_commutativityÃscCsï|j|j}}|j||||@B||B||Bƒ|j||@||AB||Bƒ|j|||B||Bƒ|j|||B||Bƒ|j||||@B|ƒ|j||||@B|ƒ|j||||B||AƒdS(N(R$RQR*(RR$RQ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_summationsËs( cCsm|j|jtƒ}}}|j|||@|ƒ|j|||@|ƒ|j||@||A@|ƒdS(N(R$RQR'R*(RR$RQR:((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_exclusionÖs(RRR#R±R²R³R´(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR®´s
		
		ccsx|D]}|VqWdS(sRegular generatorN((tseqnRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytRßs
tGcBs eZdZd„Zd„ZRS(sSequence using __getitem__cCs
||_dS(N(Rµ(RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRæscCs|j|S(N(Rµ(RRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__getitem__ès(RRRRR¸(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR·äs	tIcBs)eZdZd„Zd„Zd„ZRS(s Sequence using iterator protocolcCs||_d|_dS(Ni(RµRJ(RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRís	cCs|S(N((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__iter__ðscCsD|jt|jƒkr!t‚n|j|j}|jd7_|S(Ni(RJR.Rµt
StopIteration(RR0((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytnextòs
	(RRRRRºR¼(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¹ës		tIgcBs eZdZd„Zd„ZRS(s9Sequence using iterator protocol defined with a generatorcCs||_d|_dS(Ni(RµRJ(RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRús	ccsx|jD]}|Vq
WdS(N(Rµ(Rtval((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRºýs(RRRRRº(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR½øs	tXcBs eZdZd„Zd„ZRS(s Missing __getitem__ and __iter__cCs||_d|_dS(Ni(RµRJ(RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRs	cCsD|jt|jƒkr!t‚n|j|j}|jd7_|S(Ni(RJR.RµR»(RR0((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¼s
	(RRRRR¼(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¿s	tNcBs eZdZd„Zd„ZRS(sIterator missing next()cCs||_d|_dS(Ni(RµRJ(RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRs	cCs|S(N((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRºs(RRRRRº(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÀs	tEcBs)eZdZd„Zd„Zd„ZRS(sTest propagation of exceptionscCs||_d|_dS(Ni(RµRJ(RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRs	cCs|S(N((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRºscCsdddS(Nii((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¼s(RRRRRºR¼(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÁs		tScBs)eZdZd„Zd„Zd„ZRS(sTest immediate stopcCsdS(N((RRµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR scCs|S(N((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRº"scCs
t‚dS(N(R»(R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR¼$s(RRRRRºR¼(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÂs		(tchaintimapcCs(ttd„ttt|ƒƒƒƒƒS(s Test multiple tiers of iteratorscSs|S(N((RG((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR•*s(RÃRÄR¶R½R·(Rµ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytL(stTestVariousIteratorArgscBs#eZd„Zd„Zd„ZRS(c	CsãxÜttfD]Î}xÅddtdƒd	tdddƒfD]œ}xHtttttt	fD].}|j
|||ƒƒt||ƒƒƒqZW|jt|t
|ƒƒ|jt|t|ƒƒ|jt|t|ƒƒq;Wq
WdS(
Nt123RMiètdog333333ó?iÐi˜i(RÈg333333ó?(R'R1RR‘R·R¹R½RÂRÅR¶R¦R%R&R¿RÀtZeroDivisionErrorRÁ(RtconsRtg((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRN.s.,cCs/tdƒ}xddtdƒdtddd	ƒd
fD]ð}xç|j|j|j|j|jfD]Á}xmtt	t
ttfD]V}||ƒ}|||ƒƒ}t
|tƒrÄ|j||ƒq~|j||ƒq~W|jt|t|ƒƒ|jt|t|ƒƒ|jt|t|ƒƒqbWq7WdS(NtnovemberRÇRMièRÈg333333ó?iÐi˜itdecember(sdog333333ó?(R'RR‘R?RRRdRhR\R·R¹R½RÅR¶t
isinstancetboolR*R¦R%R&R¿RÀRÉRÁ(RRtdatatmethRËR,R+((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_inline_methods7s1+cCsEx>ddtdƒdtdddƒd	fD]}x	dD]}x€ttttttfD]f}tdƒ}|j	ƒ}t
||ƒt||ƒƒƒt
||ƒ||ƒƒ|j||ƒqWW|j
tt
tdƒ|ƒt|ƒƒ|j
tt
tdƒ|ƒt|ƒƒ|j
tt
tdƒ|ƒt|ƒƒq8Wq+WdS(NRÇRMièRÈg333333ó?iÐi˜iRÍRÔRÙRáRªtjanuary(sdog333333ó?(supdatesintersection_updatesdifference_updatessymmetric_difference_update(RR‘R·R¹R½RÂRÅR¶R'RŠR‡RCR¦R%R&R¿RÀRÉRÁ(RRÐtmethnameRËRRr((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_inplace_methodsFs1
(((RRRNRÒRÕ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÆ,s			tbad_eqcBseZd„Zd„ZRS(cCs#trtjƒt‚n||kS(N(tbe_badtset2RÀRÉ(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt__eq__Vs
	cCsdS(Ni((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR	[s(RRRÙR	(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÖUs	tbad_dict_clearcBseZd„Zd„ZRS(cCstrtjƒn||kS(N(R×tdict2RÀ(RR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÙ_s
cCsdS(Ni((R((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyR	cs(RRRÙR	(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÚ^s	t
TestWeirdBugscBseZd„Zd„ZRS(cCs}tatƒh}d„tdƒDƒata|jt|jtƒtat	ƒh}idt	ƒ6ata|jtƒdS(NcSsh|]}tƒ’qS((RÖ(RRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<setcomp>ls	iK(
R_R×RÖRRØR^R%RÉRÔRÚR‰RÛRª(Rtset1((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_8420_set_mergegscCsxttdƒƒ}|jƒ|jtdƒƒt|ƒ}|jƒttdƒƒ}|jtdƒƒt|ƒdS(Nid(R'RRÀRÔR³RC(RRtsiR$((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_iter_and_mutatevs

(RRRÞRà(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRÜfs	ccsjt|ƒ}y>t|jƒgƒ}x"t|ƒD]}|V||BVq1WWntk
retƒVnXdS(s-Generates all subsets of a set or sequence U.N(R³R1R¼tpowersetR»(tURGRÂ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRáƒs
c	Cstgt|ƒD]}t|gƒ^q
}tgtt|ƒƒD]/}|tg|D]}||A^qQƒf^q>ƒS(s!Graph of n-dimensional hypercube.(RR1R Rá(R¬RGt
singletonsR((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytcubeŽs(cCsºi}x­|D]¥}xœ||D]}g||D]$}||kr/t||gƒ^q/}g||D]$}||krdt||gƒ^qd}t||ƒ|t||gƒ<qWq
W|S(sGraph, the vertices of which are edges of G,
    with two vertices being adjacent iff the corresponding
    edges share a vertex.(R1(R·RÅRGR€RUtnxtny((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	linegraph”s
55(cCsRtƒ}xB|jƒD]4\}}x%|D]}x||D]}||krRq:n|||kr|jt|||gƒƒq:x¾||D]²}||kr¤qŒn|||krÖ|jt||||gƒƒqŒxe||D]Y}||ksá||krqán|||krá|jt|||||gƒƒqáqáWqŒWq:Wq)WqW|S(sKReturn a set of faces in G.  Where a face is a set of vertices on that face(R'titemsR–R1(R·RYRÈtedgesRÊtv3tv4tv5((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pytfaces s&	
"9t
TestGraphscBseZd„Zd„ZRS(cCsÔtdƒ}t|ƒ}|jt|ƒdƒx*|jƒD]}|jt|ƒdƒq;Wtd„|jƒDƒƒ}|j||ƒt|ƒ}|jt|ƒdƒx$|D]}|jt|ƒdƒq°WdS(Niicss"|]}|D]}|Vq
qdS(N((RRéR0((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>Ãsii(RäR'R*R.RRí(RRËt	vertices1tedget	vertices2t	cubefacestface((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_cube¼s
cCsOtdƒ}t|ƒ}|jt|ƒdƒt|ƒ}x*|jƒD]}|jt|ƒdƒqGWtd„|jƒDƒƒ}|j||ƒt|ƒ}tjt	ƒ}x$|D]}|t|ƒcd7<qµW|j|ddƒ|j|ddƒxK|D]C}	|	}
|jt|
ƒdƒx|
D]}|j
||ƒq-WqWdS(	Niiicss"|]}|D]}|Vq
qdS(N((RRéRð((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pys	<genexpr>Øsiiii(RäRçR*R.R'RRítcollectionstdefaultdictRR2(RRËt
cuboctahedrontverticesRét
otherverticest	cubofacest	facesizesRótvertexRðtcubevert((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyttest_cuboctahedronËs&


(RRRôRþ(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyRîºs	c!Csôtttttttttt	t
ttt
ttttttttttttttttttt f!}t!j"|Œ|rðt#t$dƒrðddl%}dgd}xAt't(|ƒƒD]-}t!j"|Œ|j)ƒt$j*ƒ||<q·W|GHndS(Ntgettotalrefcountiÿÿÿÿi(+R»RïRóRõR
RJRCR4R6R9R;RORcRlRŒRRŽRRR›RœRRžRŸR¨R©R«R¬R­R®RÆRîRÜRtrun_unittestRštsysR´R‰R‘R.RµRÿ(tverbosettest_classesR´tcountsRJ((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt	test_mainësT	



t__main__R(\RìttestRR´R±R<RŠR€trandomRRRRõt	ExceptionRRRR
RRtTestCaseRR»R'RîRïRðRóRõR1R	R
R!RR4R6R9R;R=R>R?RARBRCRJRORcRlR}RŒRRŽRRR‘R›RœRRžRŸR¡R¨R©R«R¬R­R®R¶R·R¹R½R¿RÀRÁRÂt	itertoolsRÃRÄRÅRÆRÖRÚRÜRáRäRçRíRîR‰RRR^(((sE/opt/chartboost/applications/python2.7/lib/python2.7/test/test_set.pyt<module>s¢	ÿ4â>	q

		
TVJ&i+	
	
		)					11