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

³ò
h”Rc	@sdZddkZddkZddkZddkZddklZddklZd„Z	dei
fd„ƒYZd„Ze
d	joeƒndS(
s'Unit tests for collections.defaultdict.iÿÿÿÿN(ttest_support(tdefaultdictcCstS(N(tlist(((s1/usr/local/lib/python2.5/test/test_defaultdict.pytfoobarstTestDefaultDictcBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cCs£tƒ}|i|idƒt|_|didƒ|i|hdgd<ƒ|didƒ|i|hddgd<ƒ|d|d|i|hddgd<gd<gd<ƒ|i|d|dj	o|dj	nƒttdddd	ƒ}|i|itƒ|i|hdd<d	d<ƒ|i|ddƒ|i|dd	ƒ|i|dgƒ|id|jƒ|id|iƒjƒ|id|jƒ|id|iƒjƒ|id|jƒ|id|iƒjƒ|id|jƒ|id|iƒjƒd|_|i|idƒy|d
Wn(tj
o}|i|i	dƒnX|i
dƒ|ittdƒdS(
Nii*ii
itfooitbariisd2[15] didn't raise KeyError(i(
RtassertEqualtdefault_factorytNoneRtappendtassert_tkeystKeyErrortargstfailtassertRaisest	TypeError(tselftd1td2terr((s1/usr/local/lib/python2.5/test/test_defaultdict.pyt
test_basicsB		10"	
cCsEtƒ}|it|idƒt|_|i|idƒgƒdS(Ni*(RRR
t__missing__RRR(RR((s1/usr/local/lib/python2.5/test/test_defaultdict.pyttest_missing4s		cCsètƒ}|i|idƒ|it|ƒdƒd|d<|it|ƒdƒttƒ}|i|itƒd|d<|it|ƒdƒd„}t|ƒ}|i|i|jƒ|d	|it|ƒd
t|ƒƒdS(Nsdefaultdict(None, {})i)isdefaultdict(None, {11: 41})i*is#defaultdict(<type 'int'>, {12: 42})cSsdS(Ni+((((s1/usr/local/lib/python2.5/test/test_defaultdict.pyRDsi
sdefaultdict(%s, {13: 43})(RRRR	treprtintR(RRRRtd3((s1/usr/local/lib/python2.5/test/test_defaultdict.pyt	test_repr:s	

	c
CsÑtƒ}d„}t|hdd<ƒ}tiƒ}z†t|dƒ}ze||IJ||IJ|idƒ|i|iƒt|ƒdƒ|i|iƒt|ƒdƒWd|iƒXWdt	i
|ƒXdS(NcSsdS(Ni*((((s1/usr/local/lib/python2.5/test/test_defaultdict.pyRLsiisw+is
(RttempfiletmktemptopentseekRtreadlineRtclosetostremove(RRRRttfntf((s1/usr/local/lib/python2.5/test/test_defaultdict.pyt
test_printJs		


 $cCs tƒ}|iƒ}|it|ƒtƒ|i|idƒ|i|hƒt|_|iƒ}|it|ƒtƒ|i|itƒ|i|hƒ|d|iƒ}|it|ƒtƒ|i|itƒ|i|hgd<ƒ|d|i|hgd<gd<ƒdS(Ni*i(RtcopyRttypeRR	R(RRRRtd4((s1/usr/local/lib/python2.5/test/test_defaultdict.pyt	test_copy_s"		cCs‰tthdd<ƒ}ti|ƒ}|i|itƒ|i||ƒt|_ti|ƒ}|i|itƒ|i||ƒdS(Ni(RRR(RRR(RRR((s1/usr/local/lib/python2.5/test/test_defaultdict.pyttest_shallow_copyrs	cCs§tthdgd<ƒ}ti|ƒ}|i|itƒ|i||ƒ|i|d|dj	ƒt|_ti|ƒ}|i|itƒ|i||ƒdS(Ni(RRR(tdeepcopyRRRR(RRR((s1/usr/local/lib/python2.5/test/test_defaultdict.pyttest_deep_copy|s	cCsQtƒ}y|dWn(tj
o}|i|idƒnX|idƒdS(Nisexpected KeyError(i(i(RR
RtmessageR(RRR((s1/usr/local/lib/python2.5/test/test_defaultdict.pyttest_keyerror_without_factory‡s	c	Cs‹dtfd„ƒY}|ƒ}|it|ƒidƒƒtiƒ}z/t|dƒ}z||IJWd|iƒXWdti	|ƒXdS(NtsubcBseZd„Zd„ZRS(cSs|i|_dS(N(t_factoryR(R((s1/usr/local/lib/python2.5/test/test_defaultdict.pyt__init__“scSsgS(N((R((s1/usr/local/lib/python2.5/test/test_defaultdict.pyR2•s(t__name__t
__module__R3R2(((s1/usr/local/lib/python2.5/test/test_defaultdict.pyR1’s	s9defaultdict(<bound method sub._factory of defaultdict(...sw+(
RRRt
startswithRRRR"R#R$(RR1tdR%R&((s1/usr/local/lib/python2.5/test/test_defaultdict.pyttest_recursive_reprs	
(R4R5RRRR'R+R,R.R0R8(((s1/usr/local/lib/python2.5/test/test_defaultdict.pyRs	$					
			cCstitƒdS(N(Rtrun_unittestR(((s1/usr/local/lib/python2.5/test/test_defaultdict.pyt	test_main¨st__main__(t__doc__R#R(RtunittestttestRtcollectionsRRtTestCaseRR:R4(((s1/usr/local/lib/python2.5/test/test_defaultdict.pys<module>s	š	


Man Man