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 |
Current File : //usr/local/lib/python2.5/bsddb/test/test_pickle.pyo |
³ò h”Rc @ s÷ d d k Z d d k Z d d k Z d d k Z y d d k Z Wn e j o d Z n Xd d k Z d d k Z y d d k l Z Wn% e j o Z d d k l Z n Xd e i f d „ ƒ YZ d „ Z e d j o e i d d ƒ n d S( iÿÿÿÿN( t dbt pickleTestCasec B sR e Z d Z d Z d Z d „ Z d „ Z d „ Z d „ Z e o d „ Z n RS( s0 Verify that DBError can be pickled and unpickledt db_homes test-dbobj.dbc C s_ t i i t i i t i d ƒ d ƒ } | | _ y t i | ƒ Wn t i j o n Xd S( Ni R ( t ost patht joint dirnamet syst argvt homeDirt mkdirt error( t selfR ( ( s2 /usr/local/lib/python2.5/bsddb/test/test_pickle.pyt setUp s ( c C sw t | d ƒ o | ` n t | d ƒ o | ` n t i t i i | i d ƒ ƒ } x | D] } t i | ƒ q\ Wd S( NR t envt *( t hasattrR R t globR R R R t remove( R t filest file( ( s2 /usr/local/lib/python2.5/bsddb/test/test_pickle.pyt tearDown s ! c C s8 t i ƒ | _ | i i | i t i t i Bƒ t i | i ƒ | _ | i i | i t i t i ƒ | i i d d ƒ y | i i d d d t i ƒWnx t i j oi } | i | ƒ } | i | ƒ } | i | i j p t | ƒ t | ƒ j o t | d | f ‚ qn Xt d ‚ | i i ƒ | i i ƒ d S( Nt spamt eggst hamt flagss !=s where's my DBError exception?!?( R t DBEnvR t openR t DB_CREATEt DB_INIT_MPOOLt DBt db_namet DB_HASHt putt DB_NOOVERWRITEt DBErrort dumpst loadst argst typet Exceptiont close( R t picklet eggt pickledEggt rottenEgg( ( s2 /usr/local/lib/python2.5/bsddb/test/test_pickle.pyt _base_test_pickle_DBError) s , c C s | i d t ƒ d S( NR* ( R. R* ( R ( ( s2 /usr/local/lib/python2.5/bsddb/test/test_pickle.pyt test01_pickle_DBError>