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

³ò
h”Rc	@sÖddkZddklZddkZddkZddkZdeifd„ƒYZddklZdei	fd„ƒYZ
defd	„ƒYZd
ei	fd„ƒYZ
d„Zed
joeƒndS(iÿÿÿÿN(ttest_supporttDictTestcBs×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(cCs-|itƒhƒ|itƒhj	ƒdS(N(tassertEqualtdicttassert_(tself((s*/usr/local/lib/python2.5/test/test_dict.pyttest_constructorscCsc|ihƒ|ihdd<ƒ|ithƒtjƒ|ithdd<ƒtjƒdS(Nii(RtbooltFalsetTrue(R((s*/usr/local/lib/python2.5/test/test_dict.pyt	test_bool
scCs†h}|i|iƒgƒhdd<dd<}|iƒ}|i|idƒƒ|i|idƒƒ|it|idƒdS(Nitaitb(RtkeysRthas_keytassertRaisest	TypeErrortNone(Rtdtk((s*/usr/local/lib/python2.5/test/test_dict.pyt	test_keysscCs^h}|i|iƒgƒhdd<}|i|iƒdgƒ|it|idƒdS(Nii(RtvaluesRRR(RR((s*/usr/local/lib/python2.5/test/test_dict.pyttest_valuess
cCs^h}|i|iƒgƒhdd<}|i|iƒdgƒ|it|idƒdS(Nii(ii(RtitemsRRR(RR((s*/usr/local/lib/python2.5/test/test_dict.pyt
test_items%s
cCsxh}|i|idƒƒhdd<dd<}|iƒ}|iƒ|i|ddgƒ|it|iƒdS(NRiiR(RRR
tsortRRR(RRR((s*/usr/local/lib/python2.5/test/test_dict.pyttest_has_key.s
cCs”h}|id|jƒ|id|jƒhdd<dd<}|id|jƒ|id|jƒ|id|jƒ|it|iƒdS(NRiiRtc(RRRt__contains__(RR((s*/usr/local/lib/python2.5/test/test_dict.pyt
test_contains8scCsNh}|it|ƒdƒhdd<dd<}|it|ƒdƒdS(NiiRiR(Rtlen(RR((s*/usr/local/lib/python2.5/test/test_dict.pyttest_lenCscsehdd<dd<}|i|ddƒ|i|ddƒd|d<d|d<|i|ddƒ|i|ddƒ|d=|i|hdd<dd<ƒ|it|iƒdtf‡fd	†ƒY}h}d
||ƒ<|it|idƒdtfd
„ƒY‰dtf‡fd†ƒY}|ƒ}d
||<t|_|iˆ|i|ƒdS(NiRiRiRitBadEqcseZ‡fd†ZRS(cs
ˆƒ‚dS(N((Rtother(tExc(s*/usr/local/lib/python2.5/test/test_dict.pyt__eq__Ws(t__name__t
__module__R#((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR Vsi*iR"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"^stBadHashcseZeZ‡fd†ZRS(cs|io
ˆƒ‚ndSdS(Ni*(tfail(R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyt__hash__bs

(R$R%RR'R(((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR&`s(	RRRt__getitem__tobjecttKeyErrort	ExceptionR	R'(RRR R&tx((R"s*/usr/local/lib/python2.5/test/test_dict.pyttest_getitemIs(

"
	
	cCsUhdd<dd<dd<}|iƒ|i|hƒ|it|idƒdS(Niii(tclearRRRR(RR((s*/usr/local/lib/python2.5/test/test_dict.pyt
test_clearms!
c
s6h}|ihdd<ƒ|ihdd<ƒ|ihdd<dd<dd<ƒ|i|hdd<dd<dd<ƒ|iƒ|i|hdd<dd<dd<ƒ|ittf|idƒddd„ƒY}|iƒ|i|ƒƒ|i|hdd<dd<dd<ƒdtfd	„ƒY‰|iƒd
d‡fd†ƒY}|iˆ|i|ƒƒd
d‡fd†ƒY}|iˆ|i|ƒƒd
d‡fd
†ƒY}|iˆ|i|ƒƒdtf‡fd†ƒY}|iˆhi|ƒƒ|it	hidgƒdS(NidiiiitSimpleUserDictcBs#eZd„Zd„Zd„ZRS(cSs(hdd<dd<dd<|_dS(Niii(R(R((s*/usr/local/lib/python2.5/test/test_dict.pyt__init__scSs
|iiƒS(N(RR
(R((s*/usr/local/lib/python2.5/test/test_dict.pyR
ƒscSs|i|S(N(R(Rti((s*/usr/local/lib/python2.5/test/test_dict.pyR)…s(R$R%R2R
R)(((s*/usr/local/lib/python2.5/test/test_dict.pyR1€s		R"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"‹stFailingUserDictcseZ‡fd†ZRS(cs
ˆ‚dS(N((R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR
s(R$R%R
((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR4Žscs eZ‡fd†Zd„ZRS(cs dd‡fd†ƒY}|ƒS(Nt	BogonItercs)eZd„Zd„Z‡fd†ZRS(cSs
d|_dS(Ni(R3(R((s*/usr/local/lib/python2.5/test/test_dict.pyR2–scSs|S(N((R((s*/usr/local/lib/python2.5/test/test_dict.pyt__iter__˜scs%|iod|_dSnˆ‚dS(NiR(R3(R(R"(s*/usr/local/lib/python2.5/test/test_dict.pytnextšs
	(R$R%R2R6R7((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR5•s		(((RR5(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR
”s
cSs|S(N((Rtkey((s*/usr/local/lib/python2.5/test/test_dict.pyR) s(R$R%R
R)((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR4“scs eZd„Z‡fd†ZRS(cSsddd„ƒY}|ƒS(NR5cBs#eZd„Zd„Zd„ZRS(cSstdƒ|_dS(NR(tordR3(R((s*/usr/local/lib/python2.5/test/test_dict.pyR2§scSs|S(N((R((s*/usr/local/lib/python2.5/test/test_dict.pyR6©scSsF|itdƒjo&t|iƒ}|id7_|Snt‚dS(Ntzi(R3R9tchrt
StopIteration(Rtrtn((s*/usr/local/lib/python2.5/test/test_dict.pyR7«s
(R$R%R2R6R7(((s*/usr/local/lib/python2.5/test/test_dict.pyR5¦s		(((RR5((s*/usr/local/lib/python2.5/test/test_dict.pyR
¥scs
ˆ‚dS(N((RR8(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR)²s(R$R%R
R)((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR4¤s	
tbadseqcs eZd„Z‡fd†ZRS(cSs|S(N((R((s*/usr/local/lib/python2.5/test/test_dict.pyR6·scs
ˆƒ‚dS(N((R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR7¹s(R$R%R6R7((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR>¶s	(((((iii(
tupdateRRRtAttributeErrorRR/R,R*t
ValueError(RRR1R4R>((R"s*/usr/local/lib/python2.5/test/test_dict.pyttest_updatets.(+
+
+
c	så|itidƒhdd<dd<dd<ƒh}|i|idƒ|j	ƒ|i|idƒhdd<dd<dd<ƒ|i|iddƒhdd<dd<ƒ|i|igƒhƒd„}|i|i|ƒƒhdd	<ƒ|ithid
ƒdtfd„ƒY}|i|idƒhdd<ƒ|i|ƒidƒhdd<ƒ|it|idƒƒ|jƒ|it|ƒidƒƒ|jƒd
tfd„ƒY}|idƒ}|i|hdd<dd<ƒ|it|t	i	ƒƒ|ittiƒdt
fd„ƒY‰dtf‡fd†ƒY}|iˆ|id	gƒdtf‡fd†ƒY}|iˆti|ƒƒdtf‡fd†ƒY}|iˆ|id	gƒdS(NtabcRRRiiicss	dVdS(Ni((((s*/usr/local/lib/python2.5/test/test_dict.pytgÇsiitdictlikecBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyREËstmydictcBseZd„ZRS(cSs
tiƒS(N(tUserDict(tcls((s*/usr/local/lib/python2.5/test/test_dict.pyt__new__Ñs(R$R%RI(((s*/usr/local/lib/python2.5/test/test_dict.pyRFÐstabR"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"Østbaddict1cseZ‡fd†ZRS(cs
ˆƒ‚dS(N((R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR2Ûs(R$R%R2((R"(s*/usr/local/lib/python2.5/test/test_dict.pyRKÚstBadSeqcs eZd„Z‡fd†ZRS(cSs|S(N((R((s*/usr/local/lib/python2.5/test/test_dict.pyR6áscs
ˆƒ‚dS(N((R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR7ãs(R$R%R6R7((R"(s*/usr/local/lib/python2.5/test/test_dict.pyRLàs	tbaddict2cseZ‡fd†ZRS(cs
ˆƒ‚dS(N((RR8tvalue(R"(s*/usr/local/lib/python2.5/test/test_dict.pyt__setitem__és(R$R%RO((R"(s*/usr/local/lib/python2.5/test/test_dict.pyRMès(ii(RRtfromkeysRRRRttypet
isinstanceRGR,R*(	RRRDRERFtudRKRLRM((R"s*/usr/local/lib/python2.5/test/test_dict.pyt
test_fromkeysÀs444.	%"%"%"cCs‚hdd<dd<dd<}|i|iƒhdd<dd<dd<ƒ|ihiƒhƒ|it|idƒdS(Niii(RtcopyRRR(RR((s*/usr/local/lib/python2.5/test/test_dict.pyt	test_copyîs!1cCsöh}|i|idƒdjƒ|i|iddƒdƒhdd<dd<}|i|idƒdjƒ|i|iddƒdƒ|i|idƒdƒ|i|iddƒdƒ|it|iƒ|it|idddƒdS(NRiiRiR(RtgetRRRR(RR((s*/usr/local/lib/python2.5/test/test_dict.pyttest_getôscs0h}|i|idƒdjƒ|idgƒ|i|idƒdjƒ|idgƒidƒ|i|dddƒ|idgƒidƒ|it|dƒdƒ|it|iƒdtfd„ƒY‰d	t	f‡fd
†ƒY}|ƒ}d||<t
|_|iˆ|i|gƒdS(Ntkey0R8iiiiR"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"sR&cseZeZ‡fd†ZRS(cs|io
ˆƒ‚ndSdS(Ni*(R'(R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR(s

(R$R%RR'R(((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR&si*(Rt
setdefaultRtappendRRRRR,R*R	R'(RRR&R-((R"s*/usr/local/lib/python2.5/test/test_dict.pyttest_setdefaults	
	c	CssxSdd
fD]D}x;tdƒD]-}d|}h}h}xEt|ƒD]7}||t|ƒ<|djo||t|ƒ<qJqJW|djo|iƒ}nxt|ƒD]}|iƒ\}}}	|i|t|ƒƒ|iƒ\}
}}|i|t|
ƒƒ|i|djo
|	|jƒq¯W|i|ƒ|i|ƒq!WqWh}
|it|
iƒdS(Niÿÿÿÿiiii(	trangetreprRUtpopitemRtintRRR+(Rtcopymodetlog2sizetsizeRRR3tkatvattatkbtvbttbR((s*/usr/local/lib/python2.5/test/test_dict.pyttest_popitems2





%csph}d\}}|||<|it|idƒ|i|i|ƒ|ƒ|it|ƒdƒ|it|i|ƒd}d}hd|<d|<}|i||||ƒ|i|i||ƒ|ƒ|||<|i|i|d	ƒ|ƒ|it|iƒd
tfd„ƒY‰dtf‡fd
†ƒY}|ƒ}d||<t|_	|iˆ|i|ƒdS(NRCtdeftghiil€Itanythingssomething elseiR"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"OsR&cseZeZ‡fd†ZRS(cs|io
ˆƒ‚ndSdS(Ni*(R'(R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR(Ss

(R$R%RR'R(((R"(s*/usr/local/lib/python2.5/test/test_dict.pyR&Qsi*(sabcRk(
RR+tpopRRRR,R*R	R'(RRRtvR-tythR&((R"s*/usr/local/lib/python2.5/test/test_dict.pyttest_pop6s*

	
	cCsZh}d|d<y#x|D]}d||d<qWWntj
onX|idƒdS(Nis7changing dict size during iteration doesn't raise Error(tRuntimeErrorR'(RRR3((s*/usr/local/lib/python2.5/test/test_dict.pyttest_mutatingiteration^s
cs½h}|it|ƒdƒd|d<|it|ƒdƒh}||d<|it|ƒdƒdtfd„ƒY‰dtf‡fd	†ƒY}h|ƒd<}|iˆt|ƒdS(
Ns{}iis{1: 2}s
{1: {...}}R"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"rstBadReprcseZ‡fd†ZRS(cs
ˆƒ‚dS(N((R(R"(s*/usr/local/lib/python2.5/test/test_dict.pyt__repr__us(R$R%Rv((R"(s*/usr/local/lib/python2.5/test/test_dict.pyRuts(RR^R,R*R(RRRu((R"s*/usr/local/lib/python2.5/test/test_dict.pyt	test_repris

csÂ|ihhjƒ|ihdd<hdd<jƒdtfd„ƒY‰dtf‡fd†ƒY}hd|ƒ<}hdd<}y||jWnˆj
onX|id	ƒdS(
NiillR"cBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyR"stBadCmpcseZ‡fd†ZRS(cs
ˆƒ‚dS(N((RR!(R"(s*/usr/local/lib/python2.5/test/test_dict.pyR#‚s(R$R%R#((R"(s*/usr/local/lib/python2.5/test/test_dict.pyRxss< didn't raise Exc(RR,R*R'(RRxtd1td2((R"s*/usr/local/lib/python2.5/test/test_dict.pyttest_le{s&c
Csû|ittdƒtƒ|ithdƒtƒdtfd„ƒY}|hdd<dd<ƒ}|i|ddƒ|i|ddƒ|id|jƒ|id|iƒjƒ|i|ddƒd	tfd
„ƒY}|ƒ}y|dWn(tj
o}|i|idƒnX|idƒdtfd
„ƒY}|ƒ}y|dWn(t	j
o}|i|idƒnX|idƒdtfd„ƒY}|ƒ}	y|	dWn(t	j
o}|i|idƒnX|idƒdS(Nt__missing__tDcBseZd„ZRS(cSsdS(Ni*((RR8((s*/usr/local/lib/python2.5/test/test_dict.pyR|˜s(R$R%R|(((s*/usr/local/lib/python2.5/test/test_dict.pyR}—siiiii*tEcBseZd„ZRS(cSst|ƒ‚dS(N(Rs(RR8((s*/usr/local/lib/python2.5/test/test_dict.pyR|¡s(R$R%R|(((s*/usr/local/lib/python2.5/test/test_dict.pyR~ sse[42] didn't raise RuntimeErrortFcBseZd„ZRS(cSsd„|_dS(NcSsdS(N(R(R8((s*/usr/local/lib/python2.5/test/test_dict.pyt<lambda>­s(R|(R((s*/usr/local/lib/python2.5/test/test_dict.pyR2«s(R$R%R2(((s*/usr/local/lib/python2.5/test/test_dict.pyRªssf[42] didn't raise KeyErrortGcBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyRµssg[42] didn't raise KeyError(i*(i*(i*(
RthasattrRRRR
RstargsR'R+(
RR}RR~teterrRtfRRD((s*/usr/local/lib/python2.5/test/test_dict.pyttest_missingŽs<	
	
	cCsNh}y|dWn(tj
o}|i|idƒnX|idƒdS(Nismissing KeyError(i(i((i(R+RRƒR'(RRR„((s*/usr/local/lib/python2.5/test/test_dict.pyttest_tuple_keyerror¿scCsvyVhddd<dd<dd<dd<dd<dd<dd	<dd
<}Wntj
onXh}dS(NiiRRRRR„R†RDRq(RtZeroDivisionError(RR((s*/usr/local/lib/python2.5/test/test_dict.pyt$test_empty_presized_dict_in_freelistÉs5!(R$R%RR
RRRRRRR.R0RBRTRVRXR\RjRrRtRwR{R‡RˆRŠ(((s*/usr/local/lib/python2.5/test/test_dict.pyRs.			
				
			$		L	.					(				1	
(t
mapping_teststGeneralMappingTestscBseZeZRS((R$R%Rt	type2test(((s*/usr/local/lib/python2.5/test/test_dict.pyRŒ×stDictcBseZRS((R$R%(((s*/usr/local/lib/python2.5/test/test_dict.pyRŽÚstSubclassMappingTestscBseZeZRS((R$R%RŽR(((s*/usr/local/lib/python2.5/test/test_dict.pyRÝscCstitttƒdS(N(Rtrun_unittestRRŒR(((s*/usr/local/lib/python2.5/test/test_dict.pyt	test_mainàst__main__(tunittestttestRtsysRGt	cStringIOtTestCaseRR‹tBasicTestMappingProtocolRŒRRŽRR‘R$(((s*/usr/local/lib/python2.5/test/test_dict.pys<module>s$ÿÏ	


Man Man