| Current File : //home/strato/chroot/opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyo |
�
��#ec @ sn d d l Z d d l Z d d l Z d d l m Z d d l Td d l m Z d d l m
Z
e j d k r� e d � Z e d � Z
d Z nL e j d k r� e d
� Z Z
d Z n$ e d � Z e d � Z
e d
� Z e
d � r8e s� e
s� e r8d GHx5 d e f d e
f d
e f f D] Z d Ge GHqWq8n d e j f d � � YZ e d k rje j � n d S( i����N( t test_support( t *( t find_library( t is_resource_enabledt win32t OpenGL32t Glu32t darwint OpenGLt GLt GLUt glet printings OpenGL libraries:s t Test_OpenGL_libsc B st e Z d � Z d � Z e j e d � d � � Z e j e d � d � � Z e j e
d � d � � Z d � Z RS( c C s� d | _ | _ | _ t rM y t t d t �| _ WqM t k
rI qM Xn t r� y t t t � | _ Wq� t k
r| q� Xn t r� y t t � | _ Wq� t k
r� q� Xn d S( Nt mode(
t Nonet glt gluR t lib_glt CDLLt RTLD_GLOBALt OSErrort lib_glut lib_gle( t self( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt setUp! s
c C s d | _ | _ | _ d S( N( R R R R ( R ( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt tearDown3 s s lib_gl not availablec C s | j r | j j n d S( N( R t glClearIndex( R ( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt test_gl6 s s lib_glu not availablec C s | j r | j j n d S( N( R t
gluBeginCurve( R ( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt test_glu; s s lib_gle not availablec C s | j r | j j n d S( N( R t gleGetJoinStyle( R ( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt test_gle@ s c C s@ t d t j � } | j t j j t j � � | j | � d S( Ns ; echo Hello shell > ( R R t TESTFNt assertFalset ost patht lexistst assertIsNone( R t result( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt test_shell_injectionE s (
t __name__t
__module__R R t unittestt
skipUnlessR R R R R R R( ( ( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyR
s t __main__( R+ t os.pathR# t syst testR t ctypest ctypes.utilR t ctypes.testR t platformR R R R t itemt TestCaseR
R) t main( ( ( s5 /opt/RZpython2/lib/python2.7/ctypes/test/test_find.pyt <module> s4
*