Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_applesingle.pyc
mò ‚=5Dc @ s d k Z d k Z d k Z d k Z d k Z d k Z d k l Z d k Z d k Z d Z d Z d Z d Z e i d e e d d ƒ e i d d d e e ƒ d d e e ƒ e e ƒ ƒ e e Z e i d Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( N( s test_supporti i s hello world s goodbye cruel world t ll16sht fooi t lllllli i2 t 2t TestApplesinglec B s5 t Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s- t t i d ƒ } | i t ƒ | i ƒ d S( Nt w( t opent test_supportt TESTFNt fpt writet applesingledatat close( t selfR ( ( t+ /usr/lib/python2.4/test/test_applesingle.pyt setUp s c C s= y t i t i ƒ Wn n Xy t i t ƒ Wn n Xd S( N( t ost unlinkR R t TESTFN2( R ( ( R t tearDown s c C sO | o t i t d ƒ } n t t d ƒ } | i d ƒ } | i | | ƒ d S( Ns *rbt rbiè ( t isrft MacOSt openrfR R R t readt filedataR t assertEqualt data( R R R R R ( ( R t compareData* s c C sR y t i t ƒ Wn n Xt i t i t ƒ | i t t ƒ | i t t ƒ d S( N( R R R t applesinglet decodeR R R R t Falset dataforkdatat Truet resourceforkdata( R ( ( R t test_applesingle2 s c C sH y t i t ƒ Wn n Xt i t i t d t ƒ| i t t ƒ d S( Nt resonly( R R R R R R R R! R R R R"