%PDF- %PDF-
Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/ |
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test__osx_support.pyc |
� 5}�ac @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z e j e j j d � d � d e j f d � � Y� Z d � Z e d k r� e � n d S( s= Test suite for _osx_support: shared OS X support functions. i����Nt darwins requires OS Xt Test_OSXSupportc B s� e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s� d | _ d | _ t j j t j � � | _ t j j � | _ | j | j j � x0 d D]( } | | j k rY | j j | � qY qY Wd S( Nt bogus_program_xxxxt CFLAGSt LDFLAGSt CPPFLAGSt BASECFLAGSt BLDSHAREDt LDSHAREDt CCt CXXt PY_CFLAGSt PY_LDFLAGSt PY_CPPFLAGSt PY_CORE_CFLAGS( R R R R R R R R R R R R ( t Nonet maxDifft prog_namet ost patht abspatht getcwdt temp_path_dirt testt test_supportt EnvironmentVarGuardt envt addCleanupt __exit__t unset( t selft cv( ( s? /opt/plesk/python/2.7/lib64/python2.7/test/test__osx_support.pyt setUp s c s$ � j � � f d � � D� � d S( Nc 3 s7 | ]- } � | � | k r d | � | f Vq d S( t _OSX_SUPPORT_INITIAL_N( ( t .0t k( t config_varst expected_vars( s? /opt/plesk/python/2.7/lib64/python2.7/test/test__osx_support.pys <genexpr># s ( t update( R R$ R% ( ( R$ R% s? /opt/plesk/python/2.7/lib64/python2.7/test/test__osx_support.pyt! add_expected_saved_initial_values s c C s� | j d r( | j d d | j d <n | j d t j j | j � | j d <t j j | j � | j t j | j � � | j t j j | j � t | j d � � } | j d � Wd QXt j | j t j � | j | j t j | j � � d S( Nt PATHt :t ws #!/bin/sh /bin/echo OK ( R R R R R R R t unlinkR t assertIsNonet _osx_supportt _find_executableR t opent writet chmodt statt S_IRWXUt assertEqual( R t f( ( s? /opt/plesk/python/2.7/lib64/python2.7/test/test__osx_support.pyt test__find_executable'