%PDF- %PDF-
Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/ |
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_errno.pyo |
� 5}�ac @ s� d d l Z d d l Z d d l Z d d l Td d l m Z d d l m Z y d d l Z Wn e k rw d Z n Xd e j f d � � YZ e d k r� e j � n d S( i����N( t *( t find_library( t test_supportt Testc B s5 e Z d � Z e j e j d k d � d � � Z RS( c s, t d � � � d k r* t j d � � n t � d t �} t j d k rW | j } n | j } t t f | _ � j | d d � d � � j t � t j � � j t d � t j � � j t � d � t r(� � f d � } t j d | � } | j � | j � � j t � d � t d � n d S( Nt cs Unable to find C libraryt use_errnot ntt i i����i c s t d � t � d t �} t j d k r7 | j } n | j } t t f | _ � j | d d � d � � j t � d � d S( Ni R R R i����( t set_errnot CDLLt Falset ost namet _opent opent c_char_pt c_intt argtypest assertEqualt get_errno( t libct libc_open( t libc_namet self( s? /opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_errno.pyt _worker s t target( R t Nonet unittestt SkipTestR t TrueR R R R R R R R R t errnot ENOENTR t threadingt Threadt startt join( R R R R t t( ( R R s? /opt/plesk/python/2.7/lib64/python2.7/ctypes/test/test_errno.pyt test_open s&