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

³ò
h”Rc@sãdZddkZddkZddkZddkZddklZddkZyddklZWn#e	j
oddk
lZnXddklZdei
fd„ƒYZd„Zed	joeid
dƒndS(s.
TestCases for checking set_get_returns_none.
iÿÿÿÿN(tpprint(tdb(tverbosetGetReturnsNoneTestCasecBs,eZd„Zd„Zd„Zd„ZRS(cCstiƒ|_dS(N(ttempfiletmktemptfilename(tself((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pytsetUpscCs1yti|iƒWntij
onXdS(N(tostremoveRterror(R((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pyttearDownscCs*tiƒ}|i|ititiƒ|idƒx%tiD]}|i	||dƒq?W|i
dƒ}|djpt‚|i
dƒ}|ddjpt‚d}|i
ƒ}|iƒ}x"|o|d}|iƒ}qÈW|djpt‚|djpt‚|iƒ|iƒdS(Nii(sbad keytaii4(RtDBtopenRtDB_BTREEt	DB_CREATEtset_get_returns_nonetstringtletterstputtgettNonetAssertionErrortcursortfirsttnexttclose(Rtdtxtdatatcounttctrec((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pyttest01_get_returns_none!s*



cCsntiƒ}|i|ititiƒ|idƒx%tiD]}|i	||dƒq?W|i
ti|idƒ|i
t
|idƒ|idƒ}|ddjpt‚d}d}|iƒ}|iƒ}xF|o>|d}y|iƒ}WqÚtij
od}PqÚXqÚW|djpt‚|pt‚|djpt‚|iƒ|iƒdS(Nii(sbad keyR
ii4(RRRRRRRRRRtassertRaisestDBNotFoundErrorRtKeyErrorRRRRRR(RRRRR texceptionHappenedR!R"((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pyttest02_get_raises_exception=s6



(t__name__t
__module__RRR#R((((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pyRs			cCs
titƒS(N(tunittestt	makeSuiteR(((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pyt
test_suite`st__main__tdefaultTestR-(t__doc__tsysR	RRRR+tbsddb3RtImportErrortbsddbttest_allRtTestCaseRR-R)tmain(((s4/usr/local/lib/python2.5/bsddb/test/test_get_none.pys<module>s$J	


Man Man