config root man

Current Path : /usr/local/lib/python2.5/bsddb/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 : //usr/local/lib/python2.5/bsddb/test/test_dbtables.pyo

³ò
h”Rc@sddkZddkZddkZddkZddkZyddkZWnej
oddkZnXddkZddk	l
Z
yddklZl
Z
Wn)ej
oddklZl
Z
nXdeifd„ƒYZd„Zedjoeidd	ƒndS(
iÿÿÿÿN(tverbose(tdbtdbtablestTableDBTestCasecBsbeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„ZRS(
c
Csdtiƒ}||_yti|ƒWntij
onXtiddd|ddƒ|_dS(Ntfilenamestabletest.dbtdbhometcreatei(	ttempfiletmkdtempttestHomeDirtostmkdirterrorRt
bsdTableDBttdb(tselfthomeDir((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pytsetUp.s		cCs!|iiƒti|iƒdS(N(RtclosetshutiltrmtreeR	(R((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyttearDown6s
cCsÑd}d}y|ii|ƒWntij
onX|ii||gƒ|ii|htiddƒ|<ƒto|ii	ƒn|ii
||gdhd|<ƒ}ti|d|ƒ}dS(Nttest01scool numbersgn†ðù!	@it
conditionsi(
RtDropRtTableDBErrortCreateTabletInserttpickletdumpsRt	_db_printtSelecttNonetloads(Rttabnametcolnametvaluestcolval((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR:s(	c
Cs†d}d}d}d}htiddƒ|<d|<d|<htid	dƒ|<d|<d
|<htiddƒ|<d|<d
|<g}y|ii|ƒWntij
onX|ii||||gƒx!|D]}|ii||ƒqìW|ii||gdhd„|<ƒ}|dddjon7|ddd
jont	od|fGHnd‚dS(Nttest02scoolness factorsbut can it fly?tSpeciesiitnotPenguiniÿÿÿÿtTurkeyi	tyessSR-71A BlackbirdRcSsti|ƒdjS(i(RR!(tx((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyt<lambda>bsis
values= %rsWrong values returned!(
RRRRRRRRRR(RR"tcol0tcol1tcol2ttestinfotrowR$((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR&Ns0**0cCs5d}y|ii|ƒWntij
onXtodGH|iiƒn|ii|dddddgƒtodGH|iiƒn|ii|ƒtod	GH|iiƒn|ii|dddddgƒyV|ii|hd
d<ti	hdd<d
d<dgdƒd<dd<ƒWntij
onXy&|ii
|gdhdd<ƒWntij
onX|ii|hdd<dd<dd<dd<ƒ|ii|hdd<dd<dd<dd<dd<ƒ|ii|hdd<dd<dd<dd<dd<ƒto|iiƒn|ii
|dddgdhtid ƒi
d<tid!ƒid<ƒ}|ii|dhtidƒd<ƒ|ii
|dddgdhtid"ƒd<ƒ}|ii
|dgdhd#„d<ƒ}dS($Nttest03s...before CreateTable...tatbtctdtes...after CreateTable...s...after Drop...tiiiitfooitZerotfRt123t42tbadtmeepsFuzzy wuzzy was a beart581750tgoodtblatblacksfuzzy was heret800000sFuzzy wuzzy is a beartwuzzys^[0-9]+$tFuzzycSs
|djS(R@((R6((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR-´s(RRRRRRRRRRRtretcompiletsearchtmatchtDeletet	ExactCondt
PrefixCond(RR"R$((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR3nsv""
-"
		
			
			(	cCsúd}y|ii|ƒWntij
onX|ii|dddddgƒyV|ii|hdd<tihdd	<d
d<dgd
ƒd<dd<ƒWntij
onX|ii|hdd<dd<dd<dd<dd<ƒ|ii|hdd<dd<dd<dd<dd<ƒ|ii|hdd<dd<dd<dd<dd<ƒto|ii	ƒn|ii
|dddgdhtidƒd<tidƒd<tid ƒd<ƒ}dS(!Nttest04_MultiCondSelectR4R5R6R7R8R9iiiiR:iR;R<tAtBtCtDtEs-As-Bs-Cs-Ds-EsA-sB-sC-sD-sE-Rt-(
RRRRRRRRRRRRMRN(RR"R$((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyRO¹s6"
-444c	Cséd}|ii|dddddgƒy2|ii|hdd<dd<dd	<ƒWnnX|ii|ddd	gƒ|ii|hdd<dd<dd	<ƒ|ii|hd
d<dd<dd	<dd<ƒdS(
Nttest_CreateOrExtendtnamettastetfillingsalcohol contenttpricetcrapR(sis it Guinness?tgreatR+tGuinness(RtCreateOrExtendTableR(RR"((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyRVás$	
	""	cCs¬d}|ii|ddddddgƒ|ii|hdd<d	d<d
d<ƒ|ii|hdd<dd<d
d<d
d<ƒ|ii|hdd<dd<d
d<dd<ƒ|ii|ddgdhtidƒd<ƒ}|ii|ddgdhtidƒd<ƒ}|ii|dhtiƒd<tidƒd<tidƒd<ti	d
ƒd<tidƒd<d„d<ƒ}dS(Nt
test_CondObjsR4R5R6R7R8tpsthe letter Asthe letter Bs
is for cookiesis for aardvarksthe letter Es
is for dogs
is for PythonRsthe ls
%aardvark%s%letter%tissis forcSs|S(((ts((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR-s(
RRRRRRNtLikeCondR tCondRM(RR"R$((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR_ùs6%							cCsÑd}|ii|dddgƒ|ii|hdd<dd<ƒ|ii|hdd<dd<d	d<ƒ|ii|d
htidƒd<ƒ|ii|dgd
htidƒd<ƒ}dS(Nttest_DeleteR,tytztX1tY1tX2tY2tZ2RtX(RRRRLRRNR(RR"R$((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyRe#s%.(cCs?d}|ii|dddgƒ|ii|hdd<dd<dd<ƒ|ii|hdd<d	d<ƒ|ii|hd
d<dd<ƒd„}d
„}d„}|ii|dhtidƒd<dh|d<ƒ|ii|dhtidƒd<dh|d<ƒ|ii|dhtidƒd<dh|d<ƒy;|ii|dhtidƒd<dhdd<ƒWntj
onXtd‚|ii	|ddhtid
ƒd<ƒ}|ii	|ddhtidƒd<ƒ}|ii	|ddhtidƒd<ƒ}dS(Nttest_ModifytNametTypetAccesssIndex to MP3 files.doctWordt8s	Nifty.MP3t1tUnknownt0cSs|djodSn|S(NtMP3(R (ttype((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pytset_type<s
cSstt|ƒdƒS(Ni(tstrtint(tcount((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pytincrement_accessAscSsdS(N(R (tvalue((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pytremove_valueDsRtmappingss%MP3%t%sWhat is your quest?s.why was TypeError not raised for bad callable?s%doc%(RRRtModifyRRMRct	TypeErrortRuntimeErrorRR (RR"RyR}RR$((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyRn3sD%%									$(t__name__t
__module__RRRR&R3RORVR_ReRn(((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyR-s				 	K	(		*	cCs&tiƒ}|ititƒƒ|S(N(tunittestt	TestSuitetaddTestt	makeSuiteR(tsuite((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pyt
test_suitesst__main__tdefaultTestRŒ(tsysR
RHRRtcPickleRtImportErrorR‡ttest_allRtbsddb3RRtbsddbtTestCaseRRŒR…tmain(((s4/usr/local/lib/python2.5/bsddb/test/test_dbtables.pys<module>s"$ÿG	


Man Man