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

³ò
h”Rc@sddkZddklZlZddkZhZhdd<Zhdd<dd<Zhdd<dd<dd	<Zhdd<dd<Z
hdd<dd<Zd
eifd„ƒYZ
deifd
„ƒYZdeifd„ƒYZd„ZedjoeƒndS(iÿÿÿÿN(ttest_supportt
mapping_testsitoneittwoiitthreetUserDictTestcBs#eZeiZd„Zd„ZRS(cCsŠtiƒ}titƒ}titƒ}titƒ}ti|ƒ}ti|ƒ}ti|ƒ}ti|ƒ}|itiddddƒtƒ|itiddgƒtƒ|itidddgƒtƒ|itiddgddddƒtƒ|itiid	iƒƒt	ƒ|itiƒid	iƒƒt	ƒ|itiid	iƒdƒt
ƒ|itiƒid	iƒdƒt
ƒ|i|id	iƒƒ|j	ƒ|it|id	iƒƒtiƒƒ|it|id	iƒƒtiƒƒ|it
|ƒt
tƒƒ|it|ƒttƒƒ|i|
t
ƒttt||||||||g}	xM|	D]E}
x<|	D]4}|it|
|ƒtt|
ƒt|ƒƒƒqŽWqW|i|ddƒ|it|idƒti|ƒ}d|d<d|d<|d=|it|idƒ|iƒ|i|hƒ|iƒ}
|i|
|ƒtid
ddd
ƒ}|iƒ}|i||ƒdtifd„ƒY}||ƒ}|iƒ}|i||ƒd|d<|i||ƒ|i|iƒtiƒƒ|i|iƒtiƒƒ|i|iƒtiƒƒx¹|iƒD]«}|i|i|ƒƒ|i||jƒ|i|i|ƒti|ƒƒ|i||j|tjƒ|i|i|ƒti|ƒƒ|i||j|tjƒqZWtiƒ}|i|ƒ|i||ƒddd„ƒY}tiƒ}|i|ƒƒ|i|hdd
<d
d<ƒxu|iƒD]g}|i|i|ƒ||ƒ|i|i|ƒti|ƒƒ|i|i|ƒti|ƒƒqWx$tdƒD]}t
|ƒ||<qWg}x|D]}|i|ƒq/W|iƒ}|it |ƒt |ƒƒtiƒ}|i|i!d
dƒdƒ|i|id
ƒƒ|i|i!d
d
ƒdƒtid
dƒ}|i|i"d
ƒdƒ|it|i"d
ƒ|i|i"d
dƒdƒd|d
<|i|i"d
dƒdƒtid
dƒ}|i|i#ƒdƒ|it|i#ƒdS(NRiRitdictiRisone twotxi*tyit
MyUserDictcBseZd„ZRS(cSs	|GHdS(N((tself((s./usr/local/lib/python2.5/test/test_userdict.pytdisplayRs(t__name__t
__module__R(((s./usr/local/lib/python2.5/test/test_userdict.pyR	QstbartfootItemscBseZd„ZRS(cSs
ddfS(NRi*Ri(Ri*(Ri((R
((s./usr/local/lib/python2.5/test/test_userdict.pytitemsos(RR
R(((s./usr/local/lib/python2.5/test/test_userdict.pyRnsi(Ri(Ri(Ri(Ri(Ri(Ri((Ri*($tUserDicttd0td1tIterableUserDicttd2tassertEqualtd3tfromkeystsplittd4td5tassert_t
isinstancetstrtreprtcmptlentassertRaisestKeyErrort__getitem__t__delitem__tcleartcopytassertNotEqualtkeysRtvaluesthas_keytupdatetgettxrangetappendtsett
setdefaulttpoptpopitem(R
tutu0tu1tu2tuutuu0tuu1tuu2talltatbtu3tu2atu2btu2cR	tm2tm2atittRtikeystkR*((s./usr/local/lib/python2.5/test/test_userdict.pyttest_allsº""+"%%("(('6




"" 
"
"&

c
Csî|ittdƒtƒdtifd„ƒY}|hdd<dd<ƒ}|i|ddƒ|i|ddƒ|id|jƒ|id|iƒjƒ|i|ddƒd	tifd
„ƒY}|ƒ}y|dWn(tj
o}|i|idƒnX|idƒdtifd
„ƒY}|ƒ}y|dWn(t	j
o}|i|idƒnX|idƒdtifd„ƒY}|ƒ}	y|	dWn(t	j
o}|i|idƒnX|idƒdS(Nt__missing__tDcBseZd„ZRS(cSsdS(Ni*((R
tkey((s./usr/local/lib/python2.5/test/test_userdict.pyRK s(RR
RK(((s./usr/local/lib/python2.5/test/test_userdict.pyRLŸsiiiii*tEcBseZd„ZRS(cSst|ƒ‚dS(N(tRuntimeError(R
RM((s./usr/local/lib/python2.5/test/test_userdict.pyRK©s(RR
RK(((s./usr/local/lib/python2.5/test/test_userdict.pyRN¨sse[42] didn't raise RuntimeErrortFcBseZd„ZRS(cSs d„|_tii|ƒdS(NcSsdS(N(tNone(RM((s./usr/local/lib/python2.5/test/test_userdict.pyt<lambda>µs(RKRt__init__(R
((s./usr/local/lib/python2.5/test/test_userdict.pyRS³s(RR
RS(((s./usr/local/lib/python2.5/test/test_userdict.pyRP²ssf[42] didn't raise KeyErrortGcBseZRS((RR
(((s./usr/local/lib/python2.5/test/test_userdict.pyRT¾ssg[42] didn't raise KeyError(i*(i*(i*(
RthasattrRtFalseRR*ROtargstfailR$(
R
RLtdRNteterrRPtfRTtg((s./usr/local/lib/python2.5/test/test_userdict.pyttest_missing—s:	
	
	(RR
RRt	type2testRJR^(((s./usr/local/lib/python2.5/test/test_userdict.pyRs		†tSeqDictcBsYeZdZdd„Zd„Zd„Zd„Zd„Zd„Z	e
dd„ƒZRS(	s]Dictionary lookalike implemented with lists.

    Used to test and demonstrate DictMixin
    cKsog|_g|_|dj	o%x"|D]\}}|||<q&Wnx$|iƒD]\}}|||<qQWdS(N(tkeylistt	valuelistRQt	iteritems(R
tothertkwargsRMtvalue((s./usr/local/lib/python2.5/test/test_userdict.pyRSÐs		

cCs=y|ii|ƒ}Wntj
o
t‚nX|i|S(N(Ratindext
ValueErrorR$Rb(R
RMRF((s./usr/local/lib/python2.5/test/test_userdict.pyR%Øs
cCs]y#|ii|ƒ}||i|<Wn3tj
o'|ii|ƒ|ii|ƒnXdS(N(RaRgRbRhR0(R
RMRfRF((s./usr/local/lib/python2.5/test/test_userdict.pyt__setitem__ÞscCsVy|ii|ƒ}Wntj
o
t‚nX|ii|ƒ|ii|ƒdS(N(RaRgRhR$R3Rb(R
RMRF((s./usr/local/lib/python2.5/test/test_userdict.pyR&åscCs
t|iƒS(N(tlistRa(R
((s./usr/local/lib/python2.5/test/test_userdict.pyR*ìscCs7|iƒ}x$|iƒD]\}}|||<qW|S(N(t	__class__Rc(R
RYRMRf((s./usr/local/lib/python2.5/test/test_userdict.pyR(îs

cCs(|ƒ}x|D]}|||<qW|S(N((tclsR*RfRYRM((s./usr/local/lib/python2.5/test/test_userdict.pyRós
	N(RR
t__doc__RQRSR%RiR&R*R(tclassmethodR(((s./usr/local/lib/python2.5/test/test_userdict.pyR`Ës					tUserDictMixinTestcBseZeZd„ZRS(cCs—tƒ}d|d<d|d<d|d<|d=|i|ddƒ|i|iƒddgƒ|i|idƒƒ|i|idƒƒ|id|jƒ|id|jƒ|ig}|D]
}||qÂ~ddgƒ|it|ƒdƒ|it|iƒƒddgƒ|it|iƒƒddgƒ|it|i	ƒƒddgƒ|i|i
ƒddgƒ|i|iƒddgƒ|i|idƒdƒ|i|idd	ƒd	ƒ|i|idƒdƒ|i|id
dƒdƒ|i|iddƒdƒ|d
=|i|idƒdƒ|id|jƒd|d<|i|id
dƒdƒd|d
<|i|id
dƒdƒ|iƒ\}}|i||jƒ|||<|iƒ|it|ƒdƒ|it|iƒ|ihdd<dd<ƒ|i|ddƒ|i|ddƒ|i|hdd<dd<ƒtƒ}d|d<d|d<|i||ƒdS(Ntteni
ttwentyitthirtyiiitfifteeni(tfortytnullRii*i(i
Rp(iRr(i
Rp(iRr(R`RR*RR,R"RjRctiterkeyst
itervaluesR+RR.RQR2R3R4R'R#R$R-(R
tst_[1]RItvRG((s./usr/local/lib/python2.5/test/test_userdict.pyRJýsX	


1"""



"	

(RR
R`R_RJ(((s./usr/local/lib/python2.5/test/test_userdict.pyRoúscCstittƒdS(N(Rtrun_unittestRRo(((s./usr/local/lib/python2.5/test/test_userdict.pyt	test_mainWst__main__(tunittestttestRRRRRRRRQRRtTestHashMappingProtocolRt	DictMixinR`tTestMappingProtocolRoR|R(((s./usr/local/lib/python2.5/test/test_userdict.pys<module>s!½/]	


Man Man