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_sort.pyo

³ò
h”Rc@sÈddklZddkZddkZddkZeiZdadd„Zdei	fd„ƒYZ
dei	fd„ƒYZd	ei	fd
„ƒYZdd„Z
edjoe
d
eƒndS(iÿÿÿÿ(ttest_supportNicCsto
dG|GHn|}|o|i|ƒn|iƒt|ƒt|ƒjoCdG|GHdGt|ƒGt|ƒGH|GH|GH|GHtd7adSnxlt|ƒD]^\}}||}||j	o;dG|GHdG|G|G|GH|GH|GH|GHtd7adSq¦q¦WdS(Ns    checkingserror inslength mismatch;isout of order at index(tverbosetsorttlentnerrorst	enumerate(ttagtexpectedtrawtcomparetorigtitgoodtmaybe((s*/usr/local/lib/python2.5/test/test_sort.pytcheck	s2

	



	
tTestBasecBseZd„ZRS(csÊdg}x?tddƒD].}d|}|it|d|dƒƒqW|idddgƒdtf‡fd†ƒY‰d	tfd
„ƒY}x0|D](}t|ƒ}to
dG|GHn|}td||ƒ|}|iƒtd
||ƒ|}ti|ƒtd||ƒ|}|iƒ|}td||d„ƒtodGHdGHn|}|id„ƒtd||ƒg}|D]}	|ˆ|	ƒq‘~}|}ti|ƒt	ˆ_
t}
y|iƒWntj
o
t	}
nX|
otˆ_
td||ƒng}t
|ƒD]}	||tidƒ|	ƒq/~}g}|D]}
||
|
ifqb~}|iƒg}|D]\}
}	||
q–~}td||ƒqšWdS(Niii
iidièt	Complainscs/eZeZd„Z‡fd†Zd„ZRS(cSs
||_dS(N(R(tselfR((s*/usr/local/lib/python2.5/test/test_sort.pyt__init__5scsOˆio5tiƒdjo"todG|G|GHnt‚n|i|ijS(Ngü©ñÒMbP?s        complaining at(tmaybe_complaintrandomRtRuntimeErrorR(Rtother(R(s*/usr/local/lib/python2.5/test/test_sort.pyt__lt__8s

cSsd|iS(Ns
Complains(%d)(R(R((s*/usr/local/lib/python2.5/test/test_sort.pyt__repr__?s(t__name__t
__module__tTrueRRRR((R(s*/usr/local/lib/python2.5/test/test_sort.pyR2s	tStablecBs#eZd„Zd„Zd„ZRS(cSs||_||_dS(N(tkeytindex(RRR((s*/usr/local/lib/python2.5/test/test_sort.pyRCs	cSst|i|iƒS(N(tcmpR(RR((s*/usr/local/lib/python2.5/test/test_sort.pyt__cmp__GscSsd|i|ifS(NsStable(%d, %d)(RR(R((s*/usr/local/lib/python2.5/test/test_sort.pyRJs(RRRR R(((s*/usr/local/lib/python2.5/test/test_sort.pyRBs		sTesting sizetidentitytreversedsrandom permutationsreversed via functioncSs
t||ƒS((R(tatb((s*/usr/local/lib/python2.5/test/test_sort.pyt<lambda>`ss3    Checking against an insane comparison function.s?        If the implementation isn't careful, this may segfault.cSsttiƒdƒdS(ii(tintR(R#R$((s*/usr/local/lib/python2.5/test/test_sort.pyR%fss(an insane function left some permutations+exception during sort left some permutationt	stability(trangetextendtobjectRRtreverseRtshuffleRRRtFalseRtxranget	randrangeR(RtsizestpowertnRtxtstyt_[1]Rt
it_complainedt_[2]t_[3]tet	augmentedt_[4]((Rs*/usr/local/lib/python2.5/test/test_sort.pyttestStressfully*s`	
"



	'
		9*
'(RRR=(((s*/usr/local/lib/python2.5/test/test_sort.pyR)stTestBugscBs#eZd„Zd„Zd„ZRS(csZdd‡fd†ƒY}g}tdƒD]}||ƒq*~‰|itˆiƒdS(NtCcseZ‡fd†ZRS(csEˆo!tiƒdjoˆiƒnˆidƒtiƒdjS(Ngè?igà?(Rtpoptappend(RR(tL(s*/usr/local/lib/python2.5/test/test_sort.pyR†s
(RRR((RB(s*/usr/local/lib/python2.5/test/test_sort.pyR?…si2((R(tassertRaisest
ValueErrorR(RR?R6R((RBs*/usr/local/lib/python2.5/test/test_sort.pyttest_bug453523€s*cCs@tdƒ}ti|ƒ|idƒ|i|tdƒƒdS(Ni2(R(RR,RtNonetassertEqual(RRB((s*/usr/local/lib/python2.5/test/test_sort.pyttest_cmpNones

cs€g}xstdƒD]e}‡fd†}ddg‰|itˆi|ƒ‡fd†}|itˆi|ƒ|g}qWdS(Nics$ˆidƒˆiƒt||ƒS(Ni(RAR@R(R3R5(RB(s*/usr/local/lib/python2.5/test/test_sort.pytmutating_cmpœs

iicsˆidƒˆ2t||ƒS(Ni(RAR(R3R5(RB(s*/usr/local/lib/python2.5/test/test_sort.pyRI¢s
(R(RCRDR(RtmemorywasterRRI((RBs*/usr/local/lib/python2.5/test/test_sort.pyttest_undetected_mutation˜s
(RRRERHRK(((s*/usr/local/lib/python2.5/test/test_sort.pyR>~s		tTestDecorateSortUndecoratecBskeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„ZRS(cCsJdiƒ}|}ti|ƒ|idtiƒ|idd„ƒdS(Ns,The quick Brown fox Jumped over The lazy DogRRcSst|iƒ|iƒƒS((Rtlower(R3R5((s*/usr/local/lib/python2.5/test/test_sort.pyR%²s(tsplitRR,RtstrRM(Rtdatatcopy((s*/usr/local/lib/python2.5/test/test_sort.pyttest_decorated­s

cCs,diƒ}|it|idd„ƒdS(Ns,The quick Brown fox Jumped over The lazy DogcSsdS(i((R3R5((s*/usr/local/lib/python2.5/test/test_sort.pyR%¶s(RNRCt	TypeErrorRRF(RRP((s*/usr/local/lib/python2.5/test/test_sort.pyttest_baddecorator´scCsng}tdƒD]}|tidƒ|fq~}|}|idd„ƒ|iƒ|i||ƒdS(NiÈidRcSs|\}}|S(((t.0R3R5((s*/usr/local/lib/python2.5/test/test_sort.pyR%»s(R.RR/RRG(RR6RRPRQ((s*/usr/local/lib/python2.5/test/test_sort.pyttest_stability¸s
6
cs8‡fd†}diƒ}|id|dtiƒdS(Ncs9ˆit|ƒtƒˆit|ƒtƒt||ƒS(N(RGttypeROR(R3R5(R(s*/usr/local/lib/python2.5/test/test_sort.pyR	Áss,The quick Brown fox Jumped over The lazy DogRR(RNRRORM(RR	RP((Rs*/usr/local/lib/python2.5/test/test_sort.pyttest_cmp_and_key_combination¿scCs,diƒ}|it|idtiƒdS(Ns,The quick Brown fox Jumped over The lazy Dogtbad(RNRCRSRRORM(RRP((s*/usr/local/lib/python2.5/test/test_sort.pyttest_badcmp_with_keyÈscCsFtddƒ}|}|it|idd„ƒ|i||ƒdS(NiþÿÿÿicSsd|S(i((R3((s*/usr/local/lib/python2.5/test/test_sort.pyR%Ñs(R(RCtZeroDivisionErrorRRFRG(RRPtdup((s*/usr/local/lib/python2.5/test/test_sort.pyttest_key_with_exceptionÍscs8tdƒ‰‡fd†}|itˆid|ƒdS(Ni
csˆ2tdƒˆ(|S(Ni(R((R3(RP(s*/usr/local/lib/python2.5/test/test_sort.pytkÖs
R(R(RCRDR(RR^((RPs*/usr/local/lib/python2.5/test/test_sort.pyttest_key_with_mutationÔscsEtdƒ‰dtf‡fd†ƒY}|itˆid|ƒdS(Ni
t
SortKillercs eZd„Z‡fd†ZRS(cSsdS(N((RR3((s*/usr/local/lib/python2.5/test/test_sort.pyRßscsˆ2tdƒˆ(dS(Ni(R((R(RP(s*/usr/local/lib/python2.5/test/test_sort.pyt__del__ás(RRRRa((RP(s*/usr/local/lib/python2.5/test/test_sort.pyR`Þs	R(R(R*RCRDR(RR`((RPs*/usr/local/lib/python2.5/test/test_sort.pyttest_key_with_mutating_delÜscsEtdƒ‰dtf‡fd†ƒY}|itˆid|ƒdS(Ni
R`cs eZd„Z‡fd†ZRS(cSs|djo
t‚ndS(Ni(R(RR3((s*/usr/local/lib/python2.5/test/test_sort.pyRês
csˆ2tdƒˆ(dS(Ni(R((R(RP(s*/usr/local/lib/python2.5/test/test_sort.pyRaís(RRRRa((RP(s*/usr/local/lib/python2.5/test/test_sort.pyR`és	R(R(R*RCRR(RR`((RPs*/usr/local/lib/python2.5/test/test_sort.pyt(test_key_with_mutating_del_and_exceptionæscCs_tdƒ}ti|ƒ|idtƒ|i|tdddƒƒ|it|idƒdS(NidR+iciÿÿÿÿs
wrong type(R(RR,RRRGRCRS(RRP((s*/usr/local/lib/python2.5/test/test_sort.pyttest_reverseús

c	Cs­g}tdƒD]}|tidƒ|fq~}|}|}|idd„dtƒ|idd„ƒ|i||ƒ|idd„dtƒ|i||ƒdS(	NiÈidRcSst|d|dƒS(i(R(R3R5((s*/usr/local/lib/python2.5/test/test_sort.pyR%sR+cSst|d|dƒS(i(R(R3R5((s*/usr/local/lib/python2.5/test/test_sort.pyR%sRcSs|dS(i((R3((s*/usr/local/lib/python2.5/test/test_sort.pyR%s(R.RR/RRRG(RR6RRPtcopy1tcopy2((s*/usr/local/lib/python2.5/test/test_sort.pyttest_reverse_stabilitys6(
RRRRRTRVRXRZR]R_RbRcRdRg(((s*/usr/local/lib/python2.5/test/test_sort.pyRL«s									
		cCstttf}ti|Œ|ovttdƒofddk}dgd}xAt	t
|ƒƒD]-}ti|Œ|iƒtiƒ||<q_W|GHndS(Ntgettotalrefcountiÿÿÿÿi(
RRLR>Rtrun_unittestthasattrtsystgcRFR.RtcollectRh(Rttest_classesRltcountsR((s*/usr/local/lib/python2.5/test/test_sort.pyt	test_main
s	



t__main__R(ttestRRRktunittestRRRFRtTestCaseRR>RLRpRR(((s*/usr/local/lib/python2.5/test/test_sort.pys<module>s	 U-b


Man Man