�
B��cc @ s� d d l Td d l Z d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d e j f d
� � YZ d e j f d � � YZ d
e j f d � � YZ e d k r� e j
� n d S( i����( t *Nt SimpleTestCasec B s e Z d � Z d � Z RS( c C s[ t � } | j | j d � d | _ | j | j d � t d � } | j | j d � d S( Ni* ic ( t c_intt assertEqualt _objectst Nonet value( t selft x( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_keeprefs.pyt test_cint s c C s[ t � } | j | j d � d | _ | j | j d � t d � } | j | j d � d S( Nt abct spam( t c_char_pR R R R ( R R ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_keeprefs.pyt test_ccharp
s ( t __name__t
__module__R R
( ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_keeprefs.pyR s t StructureTestCasec B s# e Z d � Z d � Z d � Z RS( c C s[ d t f d � � Y} | � } | j | j d � d | _ d | _ | j | j d � d S( Nt Xc B s e Z d e f d e f g Z RS( t at b( R R R t _fields_( ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_keeprefs.pyR s i* ic ( t StructureR R R R R ( R R R ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_keeprefs.pyt test_cint_struct s c C si d t f d � � Y} | � } | j | j d � d | _ d | _ | j | j i d d 6d d 6� d S( NR c B s e Z d e f d e f g Z RS( R R ( R R R R ( ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_keeprefs.pyR "