�
B��cc @ s� d d l Z d d l Z d d l m Z d d l Z e d � d e j f d � � Y� Z e d � d e f d � � Y� Z e d k r� e j � n d S( i����N( t need_symbolt c_wchart UnicodeTestCasec B sV e Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
RS( c C s4 t j t j � } | j | _ t j g | j _ d S( N( t ctypest CDLLt _ctypes_testt __file__t my_wcslent wcslent c_wchar_pt argtypes( t clst dll( ( s? /usr/local/python-2.7/lib/python2.7/ctypes/test/test_unicode.pyt
setUpClass s c C s t j d d � | _ d S( Nt asciit strict( R t set_conversion_modet prev_conv_mode( t self( ( s? /usr/local/python-2.7/lib/python2.7/ctypes/test/test_unicode.pyt setUp s c C s t j | j � d S( N( R R R ( R ( ( s? /usr/local/python-2.7/lib/python2.7/ctypes/test/test_unicode.pyt tearDown s c C su | j } t j d d � | j | d � d � | j | d � d � | j | d � d � | j t j | d � d S( NR R u abci u ab⁰t abcs ab�( R R R t assertEqualt assertRaisest
ArgumentError( R R ( ( s? /usr/local/python-2.7/lib/python2.7/ctypes/test/test_unicode.pyt test_ascii_strict s c C su | j } t j d d � | j | d � d � | j | d � d � | j | d � d � | j | d � d � d S( NR t replaceu abci u ab⁰R s ab�( R R R R ( R R ( ( s? /usr/local/python-2.7/lib/python2.7/ctypes/test/test_unicode.pyt test_ascii_replace s c C su | j } t j d d � | j | d � d � | j | d � d � | j | d � d � | j | d � d � d S( NR t ignoreu abci u ab⁰R s ��i ( R R R R ( R R ( ( s? /usr/local/python-2.7/lib/python2.7/ctypes/test/test_unicode.pyt test_ascii_ignore&