Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
bsddb
/
test
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/bsddb/test/test_recno.pyc
mò ‚=5Dc @ sÎ d Z d k Z d k Z d k Z d k Z d k l Z d k Z d k l Z y d k l Z Wn e j o d k l Z n Xd Z d e i f d „ ƒ YZ d „ Z e d j o e i d d ƒ n d S( s% TestCases for exercising a Recno DB. N( s pprint( s verbose( s dbt4 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZt SimpleRecnoTestCasec B s5 t Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s t i ƒ | _ d S( N( t tempfilet mktempt selft filename( R ( ( t+ /usr/lib/python2.4/bsddb/test/test_recno.pyt setUp s c C sJ y t i | i ƒ Wn/ t j o# } | i t i j o ‚ qF n Xd S( N( t ost removeR R t OSErrort et errnot EEXIST( R R ( ( R t tearDown s c C sj t i ƒ } | i | i t i t i ƒ xd t D]\ } | i | d ƒ } t | ƒ t d ƒ j p t ‚ | d j p t ‚ t o | Gq/ q/ Wt o Hn | i ƒ } t o t | ƒ n xx t d t | ƒ d ƒ D]] } | | } t o | GHn t | ƒ t d ƒ j p t ‚ | | i | ƒ j p t ‚ qÖ Wy | d } WnC t i j o4 } | d t i j p t ‚ t o | GHq˜n X| i d ƒ y | d } Wn t j o n X| i d ƒ | i d ƒ } | d j p t ‚ | i ƒ } t o | GHn t | ƒ t g ƒ j p t ‚ t | d ƒ t d ƒ j p t ‚ t | ƒ t | ƒ j p t ‚ | i ƒ } t o t | ƒ n t | ƒ t g ƒ j p t ‚ t | d ƒ t f ƒ j p t ‚ t | d ƒ d j p t ‚ t | d d ƒ t d ƒ j p t ‚ t | d d ƒ t d ƒ j p t ‚ t | ƒ t | ƒ j p t ‚ | i d ƒ p t ‚ | d =| i d ƒ p t ‚ | i d ƒ | i d ƒ p t ‚ | i d d d ƒ } | d d j p t ‚ t o | GHn | i ƒ } t o | GHn | i! ƒ } | i# ƒ } x( | o t o | GHn | i% ƒ } q/W| i&