Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_zipfile.pyo
mò ‚=5Dc @ sÒ y d k Z Wn e j o d Z n Xd k Z d k Z d k Z d k l Z d k l Z d k l Z l Z e d Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( N( s StringIO( s TemporaryFile( s TESTFNs run_unittestt 2t TestsWithSourceFilec B s@ t Z d „ Z d „ Z d „ Z e o d „ Z n d „ Z RS( Nc C sX d „ t d d ƒ Dƒ } d i | ƒ | _ t t d ƒ } | i | i ƒ | i ƒ d S( Nc c s x | ] } d | Vq Wd S( s Test of zipfile line %d.N( t [outmost-iterable]t i( R R ( ( t' /usr/lib/python2.4/test/test_zipfile.pyt <generator expression> s i iè s t wb( t ranget line_gent joint selft datat opent TESTFNt fpt writet close( R R R ( ( R t setUp s c C s° t i | d | ƒ } | i t d t i d ƒ | i t t ƒ | i ƒ t i | d | ƒ } | i | i t ƒ | i ƒ | i | i d t i d ƒ | i ƒ | i ƒ d S( Nt wt anothert namet r( t zipfilet ZipFilet ft compressiont zipfpR R t ost extsepR R t assertEqualt readR ( R R R R ( ( R t zipTest s 'c C s7 x0 t t ƒ t ƒ f D] } | i | t i ƒ q Wd S( N( t TESTFN2t TemporaryFilet StringIOR R R R t ZIP_STORED( R R ( ( R t testStored' s c C s7 x0 t t ƒ t ƒ f D] } | i | t i ƒ q Wd S( N( R R! R"