Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_shelve.pyo |
³ò h”Rc @ s+ d d k Z d d k Z d d k Z d d k Z d d k l Z d e i f d „ ƒ YZ d d k l Z d e i f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d „ Z e d j o e ƒ n d S( iÿÿÿÿN( t test_supportt TestCasec B sF e Z d e i d Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( t shelftempt dbc C sz zD t i | i d d ƒ} d | d <| i | d d ƒ | i ƒ Wd x+ t i | i d ƒ D] } t i | ƒ q^ WXd S( Nt protocoli i i i i t key1t *( i i i i ( i i i i ( t shelvet opent fnt assertEqualt closet globt ost unlink( t selft st f( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt test_ascii_file_shelf s c C sz zD t i | i d d ƒ} d | d <| i | d d ƒ | i ƒ Wd x+ t i | i d ƒ D] } t i | ƒ q^ WXd S( NR i i i i R R ( i i i i ( i i i i ( R R R R R R R R ( R R R ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt test_binary_file_shelf s c C sz zD t i | i d d ƒ} d | d <| i | d d ƒ | i ƒ Wd x+ t i | i d ƒ D] } t i | ƒ q^ WXd S( NR i i i i R R ( i i i i ( i i i i ( R R R R R R R R ( R R R ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt test_proto2_file_shelf s c C s° h } t i | d d ƒ} d | d <| i | d d ƒ | i ƒ h } t i | d d ƒ} d | d <| i | d d ƒ | i ƒ | i t | ƒ d ƒ | i | | ƒ d S( NR i i i i i R ( i i i i ( i i i i ( i i i i ( i i i i ( R t ShelfR R t lent assertNotEqual( R t d1R t d2( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt test_in_memory_shelf) s c C sW h } t i | d d d t ƒ} d d d d g | d <| i | d d d d d g ƒ | d i d ƒ | i | d d d d d g ƒ | i ƒ h } t i | d d d t ƒ} d d d d g | d <| i | d d d d d g ƒ | d i d ƒ | i | d d d d d d g ƒ | i ƒ | i t | ƒ d ƒ | i t | ƒ d ƒ d S( NR i t writebacki i i R i ( R R t FalseR t appendR t TrueR ( R R R R ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt test_mutable_entry8 s # ( t __name__t __module__R t extsepR R R R R R ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR s ( t mapping_testst TestShelveBasec B sA e Z d Z d Z d „ Z e i Z d „ Z d „ Z d „ Z RS( s shelftemp.dbi c O s# g | _ t i i | | | Ž d S( N( t _dbR# t BasicTestMappingProtocolt __init__( R t argst kw( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR' R s c C s h d d <d d <d d <S( Nt value1R i t key2i i t key3( i i i ( ( R ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt _referenceV s c C sk | i o t i h | i } n5 | i d 7_ t i | i t | i ƒ | i } | i i | ƒ | S( Ni ( t _in_memR R t _argst counterR R t strR% R ( R t x( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt _empty_mappingX s %c C sg x | i D] } | i ƒ q Wg | _ | i p2 x/ t i | i d ƒ D] } t i | ƒ qH Wn d S( NR ( R% R R. R R R R ( R R R ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt tearDown` s ( R R! R R0 R' R R t type2testR- R3 R4 ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR$ O s t TestAsciiFileShelvec B s e Z h d d <Z e Z RS( i R ( R R! R/ R R. ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR6 h s t TestBinaryFileShelvec B s e Z h d d <Z e Z RS( i R ( R R! R/ R R. ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR7 k s t TestProto2FileShelvec B s e Z h d d <Z e Z RS( i R ( R R! R/ R R. ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR8 n s t TestAsciiMemShelvec B s e Z h d d <Z e Z RS( i R ( R R! R/ R R. ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR9 q s t TestBinaryMemShelvec B s e Z h d d <Z e Z RS( i R ( R R! R/ R R. ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR: t s t TestProto2MemShelvec B s e Z h d d <Z e Z RS( i R ( R R! R/ R R. ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyR; w s c C s# t i t t t t t t t ƒ d S( N( R t run_unittestR6 R7 R8 R9 R: R; R ( ( ( s, /usr/local/lib/python2.5/test/test_shelve.pyt test_main{ s t __main__( R t unittestR R t testR R R# R&