Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_bz2.pyc
m =5Dc @ s d k l Z d k l Z d k Z d k l Z d k Z d k Z d k Z d k Z d k l Z l Z l Z e i d j 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 Z e d j o e n d S( ( s test_support( s TESTFNN( s StringIO( s BZ2Files BZ2Compressors BZ2Decompressort win32t os2emxt riscost BaseTestc B s= t Z d Z d Z d Z d Z e o d Z n d Z RS( s Base for other testcases.s root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin: daemon:x:2:2:daemon:/sbin: adm:x:3:4:adm:/var/adm: lp:x:4:7:lp:/var/spool/lpd: sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail: news:x:9:13:news:/var/spool/news: uucp:x:10:14:uucp:/var/spool/uucp: operator:x:11:0:operator:/root: games:x:12:100:games:/usr/games: gopher:x:13:30:gopher:/usr/lib/gopher-data: ftp:x:14:50:FTP User:/var/ftp:/bin/bash nobody:x:65534:65534:Nobody:/home: postfix:x:100:101:postfix:/var/spool/postfix: niemeyer:x:500:500::/home/niemeyer:/bin/bash postgres:x:101:102:PostgreSQL Server:/var/lib/pgsql:/bin/bash mysql:x:102:103:MySQL server:/var/lib/mysql:/bin/bash www:x:103:104::/var/www:/bin/false s BZh91AY&SY.N >_ @n ?0 F#&FЦMQ4hh$i44S<QHՇ I/E pu]ɻDL Q 1ߠ2O97dIJL#/#CWMXa<etL˄.`n}lh E,ZVH>9gd6 Պ.Kvxwߡ|/";ձ#Aoy\O煚f82"%>V,z⟣"E)I^rU26U0^DFݸankR3]f"6l$j@l1..klsE knQ%yvz̹zn7.G]B@!8`s BZh91AY&SYzN H߀ @n ?@`*=ML@I!Ȉjdi@@ h2De 虉h G(? ϵE ps^ݢ&(u0%'ĉ!UIFU%C4!DIN8WAr%?3;I45AыT<l_0xYr@ y@$)`Ήzs.iW-+t'dBx.[.N`ʇ!"R/mfa80>Ǎ\"yBglk"ԉ*m6jj';.IJ舌U+t3 3r2 (rMD65؈Ӥ2\//k&+tar5"w]i[R IT;Zdk4 Ӂz:^`ܑN$+Ӏc C sx t i d d d } | i i | | i i | i i } | i i | i d j o t i | } n | S( Nt bunzip2t capturestderri i ( t popen2t Popen3t popt tochildt writet datat closet fromchildt readt rett waitt bz2t decompress( t selfR R R ( ( t# /usr/lib/python2.4/test/test_bz2.pyR s c C s t i | S( N( R R R ( R R ( ( R R $ s ( t __name__t __module__t __doc__t TEXTt DATAt DATA_CRLFt has_cmdline_bunzip2R ( ( ( R R s t BZ2FileTestc B s t Z d Z d Z d Z d d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z RS( s( Test BZ2File type miscellaneous methods.c C s t | _ d S( N( t TESTFNR t filename( R ( ( R t setUp* s c C s. t i i | i o t i | i n d S( N( t ost patht isfileR R t unlink( R ( ( R t tearDown- s i c C sJ t | i d } | o | i } n | i } | i | | i d S( Nt wb( t openR R t ft crlfR R R R R ( R R( R R' ( ( R t createTempFile1 s c C sV | i t | i } | i t | i d | i | i | i | i d S( N( R R) t BZ2FileR t bz2ft assertRaisest TypeErrorR t Nonet assertEqualR R ( R R+ ( ( R t testRead: s c C sj | i t | i } d } x* | i d } | p Pn | | 7} q"