|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/22697/root/usr/lib64/python2.4/test/ |
Upload File : |
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/lib64/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"