�
B��cc @ sv d d l Z d d l Z d d l Te j e j j d � d � d e j f d � � Y� Z e d k rr e j � n d S( i����N( t *t wins Windows-only testt WinTypesTestc B s e Z d � Z RS( c C s� d d l m } x� d D]� } t t � t | � � } t | t | j � � } | j t | j � d � | j � } | j | j
t � t | _
| j | j
t � | | _
| j | j
t � q Wxc d d
d d f D]O } t t � t | � � } t | t | j � � } | j t | j � d � q� Wx? d
d d f D]. } | j � } | | _
| j | j
t � q7W| j � } d d g | _
| j | j
t � g | _
| j | j
t � d S( Ni����( t wintypesi i� i � i�� i s VARIANT_BOOL(True)i i i i i! s VARIANT_BOOL(False)i ( i i� i � i�� i I I (
t ctypesR t POINTERt c_int16t castt VARIANT_BOOLt assertEqualt reprt contentst assertIst valuet Falset True( t selfR t
true_valuet trueR
t vbt false_valuet falset set_value( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_wintypes.pyt test_variant_bool s0
( t __name__t
__module__R ( ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_wintypes.pyR s t __main__(
t syst unittestR t
skipUnlesst platformt
startswitht TestCaseR R t main( ( ( s@ /usr/local/python-2.7/lib/python2.7/ctypes/test/test_wintypes.pyt <module> s
!