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

³ò
h”Rc@s˜ddkZddklZddkZddd„ƒYZdd d„ƒYZhd„eieifd<d	„eiei	fd
<d„ei
eifd<d
„eiei
fd<d„eieifd<d„eieifd<Zdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZd„ZedjoeƒndS(!iÿÿÿÿN(ttest_supporttNumbercBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cCs
||_dS(N(tx(tselfR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__init__
scCs
|i|jS(N(R(Rtother((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__lt__
scCs
|i|jS(N(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__le__scCs
|i|jS(N(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__eq__scCs
|i|jS(N(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__ne__scCs
|i|jS(N(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__gt__scCs
|i|jS(N(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__ge__scCstid‚dS(Ns%Number.__cmp__() should not be called(Rt
TestFailed(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__cmp__scCsd|ifS(Ns
Number(%r)(R(R((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__repr__"s(t__name__t
__module__RRRRR	R
RR
R(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRs								tVectorcBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„ZRS(cCs
||_dS(N(tdata(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyR'scCs
t|iƒS(N(tlenR(R((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__len__*scCs|i|S(N(R(Rti((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__getitem__-scCs||i|<dS(N(R(RRtv((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__setitem__0scCs
td‚dS(NsVectors cannot be hashed(t	TypeError(R((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__hash__3scCs
td‚dS(Ns*Vectors cannot be used in Boolean contexts(R(R((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__nonzero__6scCstid‚dS(Ns%Vector.__cmp__() should not be called(RR(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyR
9scCsd|ifS(Ns
Vector(%r)(R(R((s-/usr/local/lib/python2.5/test/test_richcmp.pyR<scCsFtg}t|i|i|ƒƒD]\}}|||jq#~ƒS(N(RtzipRt
_Vector__cast(RRt_[1]tatb((s-/usr/local/lib/python2.5/test/test_richcmp.pyR?scCsFtg}t|i|i|ƒƒD]\}}|||jq#~ƒS(N(RRRR(RRRRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyRBscCsFtg}t|i|i|ƒƒD]\}}|||jq#~ƒS(N(RRRR(RRRRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyREscCsFtg}t|i|i|ƒƒD]\}}|||jq#~ƒS(N(RRRR(RRRRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR	HscCsFtg}t|i|i|ƒƒD]\}}|||jq#~ƒS(N(RRRR(RRRRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR
KscCsFtg}t|i|i|ƒƒD]\}}|||jq#~ƒS(N(RRRR(RRRRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyRNscCsJt|tƒo
|i}nt|iƒt|ƒjo
td‚n|S(Ns*Cannot compare vectors of different length(t
isinstanceRRRt
ValueError(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt__castQs


(RRRRRRRRR
RRRRR	R
RR(((s-/usr/local/lib/python2.5/test/test_richcmp.pyR%s														cCs
||jS(((RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyt<lambda>YstltcCs
||jS(((RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR$ZstlecCs
||jS(((RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR$[steqcCs
||jS(((RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR$\stnecCs
||jS(((RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR$]stgtcCs
||jS(((RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyR$^stget
VectorTestcBs#eZd„Zd„Zd„ZRS(cGs,x%t|D]}|i|||ŒqWdS(N(topmaptassertRaises(Rterrortopnametargstop((s-/usr/local/lib/python2.5/test/test_richcmp.pyt	checkfailcscCs|xut|D]i}|||ƒ}|it|ƒt|ƒƒx5tt|ƒƒD]!}|i||||jƒqOWqWdS(N(R,tassertEqualRtxrangetassert_(RR/RR texpresR1trealresR((s-/usr/local/lib/python2.5/test/test_richcmp.pyt
checkequalgscCsÚttdƒƒ}ttdƒƒ}x$tD]}|it|||ƒq+Wtdƒ}ddg}|t|ƒft|ƒ|ft|ƒt|ƒfg}x6|D].\}}|id||tttttgƒ|id||tttttgƒ|id||tttttgƒ|id||tttttgƒ|id||tttttgƒ|id	||tttttgƒxAtiƒD]3}x*|D]"}|i	t
t|||ƒƒq¨Wq›Wq¤WdS(
NiiiR%R&R'R(R)R*(RtrangeR,R2R"R8tTruetFalset
itervaluesR-Rtbool(RRR R/R0topsR1((s-/usr/local/lib/python2.5/test/test_richcmp.pyt
test_mixedps*
9%%%%%%
(RRR2R8R?(((s-/usr/local/lib/python2.5/test/test_richcmp.pyR+as			t
NumberTestcBs#eZd„Zd„Zd„ZRS(c	CsóxìtdƒD]Þ}xÕtdƒD]Ç}x¾ttfD]°}x§ttfD]™}||jo
tjnoqFn||ƒ}||ƒ}xStiƒD]E}x<|D]4}|||ƒ}	|||ƒ}
|i|	|
ƒq£Wq–WqFWq3Wq Wq
WdS(Ni(R4tintRR,R<R3(RRR ttypeattypebttattbR>R1trealoutcomettestoutcome((s-/usr/local/lib/python2.5/test/test_richcmp.pyt
test_basics&




cCs“xŒttfD]~}xuttfD]g}||ƒ}||ƒ}xFt|D]:}	|	||ƒ}
t|
d|
ƒ}
|i|
|jƒqIWq Wq
WdS(NR(RARR,tgetattrR5(RR/RR R6RBRCRDRER1R7((s-/usr/local/lib/python2.5/test/test_richcmp.pyt
checkvalueŸs

cCs|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒ|idddtƒdS(	NR%iR&R'R(R)R*i(RJR;R:(R((s-/usr/local/lib/python2.5/test/test_richcmp.pyttest_values©s$(RRRHRJRK(((s-/usr/local/lib/python2.5/test/test_richcmp.pyR@‹s		
tMiscTestcBs#eZd„Zd„Zd„ZRS(cCsddd„ƒY}|ƒ}|ƒ}|i||jdƒ|i||jdƒ|i||jdƒ|itt||ƒdS(NtMisbcBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cSsdS(Ni((RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyRÄscSsdS(Ni((RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyR
ÅscSsdS(Ni((RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyRÆscSs
td‚dS(NsThis shouldn't happen(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyRÇscSs
td‚dS(NsThis shouldn't happen(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyRÈscSs
td‚dS(NsThis shouldn't happen(R(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyR	ÉscSs
td‚dS(Ntexpected(tRuntimeError(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyR
Ês(	RRRR
RRRR	R
(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRMÃs						i((R3R-ROtcmp(RRMRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyttest_misbehavinÂs		csxddk}dtfd„ƒY‰dd‡fd†ƒY}d„}x-||ifD]}|iˆ||ƒƒqTWdS(NiÿÿÿÿtExccBseZRS((RR(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRRÖstBadcseZ‡fd†ZRS(cs
ˆ‚dS(N((R(RR(s-/usr/local/lib/python2.5/test/test_richcmp.pyRÙs(RRR((RR(s-/usr/local/lib/python2.5/test/test_richcmp.pyRSØscSs	|dS(N((tbad((s-/usr/local/lib/python2.5/test/test_richcmp.pytdoÜs((toperatort	Exceptiontnot_R-(RRVRSRUtfunc((RRs-/usr/local/lib/python2.5/test/test_richcmp.pyttest_notÒs	cCsddkl}|ƒ}|ƒ}|i|ƒ|i|ƒ|itti||ƒ|itti||ƒ|itti||ƒ|itti||ƒ|itti	||ƒ|itti
||ƒ|idƒ|i||jƒ|i||jƒ|itti||ƒ|itti||ƒ|itti	||ƒ|itti
||ƒ|idƒ|itti||ƒ|itti||ƒ|iddƒ|iddƒ|i||jƒ|i||jƒ|i||jƒdS(Niÿÿÿÿ(tUserListiiii(
R[tappendR-RORVR'R(R%R&R)R*R5tinsert(RR[RR ((s-/usr/local/lib/python2.5/test/test_richcmp.pyttest_recursionâs4		



(RRRQRZR^(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRLÀs		tDictTestcBseZd„ZRS(cCs3ddk}h}x8tdƒD]*}|idƒd||idƒd<qW|iƒ}|i|ƒh}x|D]\}}|||<qsW|iƒ}|d||<|i||jƒ|i||jƒ|i||jƒ|i||jƒx9d
D]1}	x(t|	D]}
|it	|
||ƒqWqúWdS(Niÿÿÿÿi2idyð?gð?R%R&R)R*(sltslesgtsge(
trandomR9t	randrangetitemstshuffletcopyR5R,R-R(RR`timag1aRRbtimag1btkRtimag2R/R1((s-/usr/local/lib/python2.5/test/test_richcmp.pyt
test_dictss,
(
(RRRi(((s-/usr/local/lib/python2.5/test/test_richcmp.pyR_stListTestcBs,eZd„Zd„Zd„Zd„ZRS(cCs|i||jƒdS(N(R5(RRR ((s-/usr/local/lib/python2.5/test/test_richcmp.pytassertIsscCs!dg}|i||jtƒ|i||jtƒ|i||jtƒ|i||jtƒ|i||jtƒ|i||jtƒddg}|i||jtƒ|i||jtƒ|i||jtƒ|i||jtƒ|i||jtƒ|i||jtƒdS(Ni*(RkR;R:(RRty((s-/usr/local/lib/python2.5/test/test_richcmp.pyt
test_coverage s	csvdtfd„ƒY‰dd‡fd†ƒY}|ƒg}|ƒg}x(tdD]}|iˆ|||ƒqRWdS(NRRcBseZRS((RR(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRR4sRScseZ‡fd†ZRS(cs
ˆ‚dS(N((RR(RR(s-/usr/local/lib/python2.5/test/test_richcmp.pyR7s(RRR((RR(s-/usr/local/lib/python2.5/test/test_richcmp.pyRS6sR'((RWR,R-(RRSRRlR1((RRs-/usr/local/lib/python2.5/test/test_richcmp.pyt
test_badentry1scCs]ddd„ƒY}|ƒg}|ƒg}x+tdD]}|i|||ƒtƒq6WdS(NtGoodcBseZd„ZRS(cSstS(N(R:(RR((s-/usr/local/lib/python2.5/test/test_richcmp.pyRDs(RRR(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRoCsR%((R,RkR:(RRoRRlR1((s-/usr/local/lib/python2.5/test/test_richcmp.pyttest_goodentry@s(RRRkRmRnRp(((s-/usr/local/lib/python2.5/test/test_richcmp.pyRjs			cCstitttttƒdS(N(Rtrun_unittestR+R@RLR_Rj(((s-/usr/local/lib/python2.5/test/test_richcmp.pyt	test_mainMst__main__(((tunittestttestRRVRRR%RR&RR'RR(R	R)R
R*RR,tTestCaseR+R@RLR_RjRrR(((s-/usr/local/lib/python2.5/test/test_richcmp.pys<module>s&3*5B2	


Man Man