Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
ctypes
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/ctypes/test/test_parameters.pyc
mò šóIFc @ sJ d k Z d k Z d e i f d „ ƒ YZ e d j o e i ƒ n d S( Nt SimpleTypesTestCasec B sb t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C sF d k } y d k l } Wn t j o n X| d d ƒ | _ d S( N( s set_conversion_modet asciit strict( t ctypest _ctypest set_conversion_modet ImportErrort selft prev_conv_mode( R R R ( ( t? /usr/lib/python2.4/site-packages/ctypes/test/test_parameters.pyt setUp s c C s8 y d k l } Wn t j o n X| | i Œ d S( N( s set_conversion_mode( R R R R R ( R R ( ( R t tearDown s c C sÏ d k l } l } d | f d „ ƒ Y} d | f d „ ƒ Y} | i | i d ƒ d ƒ | i | i d ƒ d ƒ y d k l } Wn t j o d Sn Xd | f d „ ƒ Y} | i | i d ƒ d ƒ d S( N( s c_void_ps c_char_pt CVOIDPc B s t Z d „ Z e e ƒ Z RS( Nc C s | d S( Ni ( t value( t clsR ( ( R t from_param s ( t __name__t __module__R t classmethod( ( ( R R s t CCHARPc B s t Z d „ Z e e ƒ Z RS( Nc C s | d S( Ni ( R ( R R ( ( R R s ( R R R R ( ( ( R R s t abct abcabct abcabcabcabc( s c_wchar_pt CWCHARPc B s t Z d „ Z e e ƒ Z RS( Nc C s | d S( Ni ( R ( R R ( ( R R - s ( R R R R ( ( ( R R , s t abcabcabc( R t c_void_pt c_char_pR R R t failUnlessEqualR t c_wchar_pR R ( R R R R R R R ( ( R t test_subclasses s c C s¬ d k l } l } d } | i | i | ƒ i | j ƒ | i | i d ƒ i d ƒ | i t | i d ƒ | i t | i d ƒ | d ƒ } | i | i | ƒ | j ƒ d S( N( s c_char_ps byreft 123u 123u 123ÿi* ( R R t byreft sR t failUnlessR t _objR t assertRaisest UnicodeEncodeErrort TypeErrort a( R R&