config root man

Current Path : /usr/local/lib/python2.5/sqlite3/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/sqlite3/test/types.pyc

³ò
h”Rc@sôddkZddkZddkZddkZdeifd„ƒYZdeifd„ƒYZdeifd„ƒYZdeifd	„ƒYZ	d
eifd„ƒYZ
deifd
„ƒYZd„Zd„Z
edjoe
ƒndS(iÿÿÿÿNtSqliteTypeTestscBsPeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(cCs8tidƒ|_|iiƒ|_|iidƒdS(Ns:memory:s9create table test(i integer, s varchar, f number, b blob)(tsqlitetconnecttcontcursortcurtexecute(tself((s./usr/local/lib/python2.5/sqlite3/test/types.pytsetUpscCs|iiƒ|iiƒdS(N(RtcloseR(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyttearDown"s
cCsJ|iiddƒ|iidƒ|iiƒ}|i|ddƒdS(Nsinsert into test(s) values (?)uÖsterreichsselect s from testi(uÖsterreich(RRtfetchonetfailUnlessEqual(Rtrow((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckString&scCsJ|iiddƒ|iidƒ|iiƒ}|i|ddƒdS(Nsinsert into test(i) values (?)i*sselect i from testi(i*(RRRR(RR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyt
CheckSmallInt,scCsSd}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(Nii(sinsert into test(i) values (?)sselect i from testiI(RRRR(RtnumR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyt
CheckLargeInt2s
cCsSd}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(Ng…ëQ¸	@sinsert into test(f) values (?)sselect f from testi(RRRR(RtvalR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyt
CheckFloat9s
cCsYtdƒ}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(NtGuglhupfsinsert into test(b) values (?)sselect b from testi(tbufferRRRR(RRR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyt	CheckBlob@s
cCs7|iidƒ|iiƒ}|i|ddƒdS(Nuselect 'Österreich'iuÖsterreich(RRRR(RR
((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckUnicodeExecuteGs(
t__name__t
__module__RR
RRRRRR(((s./usr/local/lib/python2.5/sqlite3/test/types.pyRs							tDeclTypesTestscBs‡eZddd„ƒYZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„ZRS(tFoocBs,eZd„Zd„Zd„Zd„ZRS(cCs
||_dS(N(R(Rt_val((s./usr/local/lib/python2.5/sqlite3/test/types.pyt__init__NscCs@t|tiƒp
t‚n|i|ijodSndSdS(Nii(t
isinstanceRRt
ValueErrorR(Rtother((s./usr/local/lib/python2.5/sqlite3/test/types.pyt__cmp__Qs

cCs#|tijo|iSndSdS(N(RtPrepareProtocolRtNone(Rtprotocol((s./usr/local/lib/python2.5/sqlite3/test/types.pyt__conform__YscCsd|iS(Ns<%s>(R(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyt__str___s(RRRR!R%R&(((s./usr/local/lib/python2.5/sqlite3/test/types.pyRMs			cCsqtiddtiƒ|_|iiƒ|_|iidƒd„tid<d„tid<ti	tid<dS(	Ns:memory:tdetect_typessNcreate table test(i int, s str, f float, b bool, u unicode, foo foo, bin blob)cSsdS(gš™™™™™G@((tx((s./usr/local/lib/python2.5/sqlite3/test/types.pyt<lambda>hstFLOATcSstt|ƒƒS((tbooltint(R(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR)kstBOOLtFOO(
RRtPARSE_DECLTYPESRRRRt
convertersRR(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyRbscCs<tid=tid=tid=|iiƒ|iiƒdS(NR*R-R.(RR0RR	R(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyR
ns




cCsJ|iiddƒ|iidƒ|iiƒ}|i|ddƒdS(Nsinsert into test(s) values (?)tfoosselect s from testi(R1(RRRR(RR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyRuscCsJ|iiddƒ|iidƒ|iiƒ}|i|ddƒdS(Nsinsert into test(i) values (?)i*sselect i from testi(i*(RRRR(RR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyR|scCsSd}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(Nii(sinsert into test(i) values (?)sselect i from testiI(RRRR(RRR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyRƒs
cCsSd}|iid|fƒ|iidƒ|iiƒ}|i|ddƒdS(Ng…ëQ¸	@sinsert into test(f) values (?)sselect f from testigš™™™™™G@(RRRR(RRR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyR‹s
cCs¦|iidtfƒ|iidƒ|iiƒ}|i|dtƒ|iidƒ|iidtfƒ|iidƒ|iiƒ}|i|dtƒdS(Nsinsert into test(b) values (?)sselect b from testisdelete from test(RRtFalseRRtTrue(RR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyt	CheckBool“scCsSd}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(NuÖsterreichsinsert into test(u) values (?)sselect u from testi(RRRR(RRR
((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckUnicode s
cCs\tidƒ}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(Ntblas insert into test(foo) values (?)sselect foo from testi(RRRRRR(RRR
((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckFoo¨s
cCssddd„ƒY}|ƒ}y'|iid|fƒ|idƒWn)tij
on|idƒnXdS(NtBarcBseZRS((RR(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR8°ssinsert into test(f) values (?)s$should have raised an InterfaceError((RRtfailRtInterfaceError(RR8R((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckUnsupportedSeq¯s	c	Csyddd„ƒY}|ƒ}y-|iidh|d<ƒ|idƒWn)tij
on|idƒnXdS(NR8cBseZRS((RR(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR8»ss!insert into test(f) values (:val)Rs$should have raised an InterfaceError((RRR9RR:(RR8R((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckUnsupportedDictºs	cCsYtdƒ}|iid|fƒ|iidƒ|iiƒ}|i|d|ƒdS(NRs insert into test(bin) values (?)sselect bin from testi(RRRRR(RRR
((s./usr/local/lib/python2.5/sqlite3/test/types.pyRÅs
((RRRRR
RRRRR4R5R7R;R<R(((s./usr/local/lib/python2.5/sqlite3/test/types.pyRLs							
				t
ColNamesTestscBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsxtiddtitiBƒ|_|iiƒ|_|iidƒd„tid<d„tid<d„tid	<dS(
Ns:memory:R'screate table test(x foo)cSsd|S(s[%s]((R(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR)ÓsR.cSsd|S(s<%s>((R(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR)ÔstBARcSsddS(ii((R(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR)ÕstEXC(	RRtPARSE_COLNAMESR/RRRRR0(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyRÎs"cCs<tid=tid=tid=|iiƒ|iiƒdS(NR.R>R?(RR0RR	R(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyR
×s




cCsJ|iiddƒ|iidƒ|iiƒd}|i|dƒdS(Nsinsert into test(x) values (?)txxxsselect x from testis[xxx](RA(RRRR(RR((s./usr/local/lib/python2.5/sqlite3/test/types.pyt
CheckDeclTypeÞscCsJ|iiddƒ|iidƒ|iiƒd}|i|dƒdS(Nsinsert into test(x) values (?)sselect x from testi(N(RRR#RR(RR((s./usr/local/lib/python2.5/sqlite3/test/types.pyt	CheckNoneäscCsh|iiddƒ|iidƒ|iiƒd}|i|dƒ|i|iidddƒdS(Nsinsert into test(x) values (?)RAsselect x as "x [bar]" from testis<xxx>R((sxxx(RRRRtdescription(RR((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckColNameês
cCs5|iidƒ|i|iidddjƒdS(sq
        cursor.description should at least provide the column name(s), even if
        no row returned.
        sselect * from test where 0 = 1iR(N(RRtassert_RD(R((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckCursorDescriptionNoRowôs(RRRR
RBRCRERG(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR=Ís						
tObjectAdaptationTestscBs8eZd„ZeeƒZd„Zd„Zd„ZRS(cCs
t|ƒS(N(tfloat(tobj((s./usr/local/lib/python2.5/sqlite3/test/types.pytcastýscCsStidƒ|_ytit=WnnXtittiƒ|iiƒ|_	dS(Ns:memory:(
RRRtadaptersR,tregister_adapterRHRKRR(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyRscCs1tittif=|iiƒ|iiƒdS(N(RRLR,R"RR	R(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyR

s
cCs@|iiddƒ|iiƒd}|it|ƒtƒdS(Nsselect ?ii(i(RRRRttypeRI(RR((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckCasterIsUseds(RRRKtstaticmethodRR
RO(((s./usr/local/lib/python2.5/sqlite3/test/types.pyRHüs
				tBinaryConverterTestscBs8eZd„ZeeƒZd„Zd„Zd„ZRS(cCs
ti|ƒS(N(tbz2t
decompress(ts((s./usr/local/lib/python2.5/sqlite3/test/types.pytconvertscCs2tiddtiƒ|_tidtiƒdS(Ns:memory:R'tbin(RRR@Rtregister_converterRQRU(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyRscCs|iiƒdS(N(RR	(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyR
scCsOdd}|iidtti|ƒƒfƒiƒd}|i||ƒdS(Ntabcdefgi
sselect ? as "x [bin]"i(RRRRRtcompressRR(Rttestdatatresult((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckBinaryInputForConverter s
1(RRRURPRR
R\(((s./usr/local/lib/python2.5/sqlite3/test/types.pyRQs
			t
DateTimeTestscBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsAtiddtiƒ|_|iiƒ|_|iidƒdS(Ns:memory:R's'create table test(d date, ts timestamp)(RRR/RRRR(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyR&scCs|iiƒ|iiƒdS(N(RR	R(R((s./usr/local/lib/python2.5/sqlite3/test/types.pyR
+s
cCsbtidddƒ}|iid|fƒ|iidƒ|iiƒd}|i||ƒdS(NiÔiisinsert into test(d) values (?)sselect d from testi(RtDateRRRR(Rtdtd2((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckSqliteDate/s
cCsktiddddddƒ}|iid|fƒ|iidƒ|iiƒd}|i||ƒdS(	NiÔiiiiisinsert into test(ts) values (?)sselect ts from test(Rt	TimestampRRRR(Rttstts2((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckSqliteTimestamp6s
cCstidjodSntiiƒ}|iidƒ|iidƒ|iiƒd}|it|ƒtiƒ|i|i	|i	ƒdS(Niis/insert into test(ts) values (current_timestamp)sselect ts from testi(ii(
Rtsqlite_version_infotdatetimetnowRRRRRNtyear(RRhRc((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckSqlTimestamp=scCsntidddddddƒ}|iid|fƒ|iid	ƒ|iiƒd}|i||ƒdS(
NiÔiiiiii ¡sinsert into test(ts) values (?)sselect ts from test(RRbRRRR(RRcRd((s./usr/local/lib/python2.5/sqlite3/test/types.pytCheckDateTimeSubSecondsJs
!(RRRR
RaReRjRk(((s./usr/local/lib/python2.5/sqlite3/test/types.pyR]%s					
cCs‹titdƒ}titdƒ}titdƒ}titdƒ}titdƒ}titdƒ}ti||||||fƒS(NtCheck(	tunittestt	makeSuiteRRR=RHRQR]t	TestSuite(tsqlite_type_suitetdecltypes_type_suitetcolnames_type_suitetadaptation_suitet	bin_suitet
date_suite((s./usr/local/lib/python2.5/sqlite3/test/types.pytsuiteQscCs tiƒ}|itƒƒdS(N(RmtTextTestRunnertrunRv(trunner((s./usr/local/lib/python2.5/sqlite3/test/types.pyttestZst__main__(RRRgRmtsqlite3RtTestCaseRRR=RHRQR]RvRzR(((s./usr/local/lib/python2.5/sqlite3/test/types.pys<module>s0/,			


Man Man