Your IP : 216.73.216.213
�
��f c @ s� 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 m Z m Z Gd d � d e j � Z
d d � Z e d k r� e � n d S( i N( u supportu
script_helperc B sh | Ee Z d Z d d � Z d d � Z d d � Z d d � Z d d
� Z d d � Z d
d � Z d S( u PyCompileTestsc C s� t j � | _ t j j | j d � | _ | j d | _ t j | j � | _
t j j t j � � d | _
t j j | j � d } | r� t j | � n t | j d � � } | j d � Wd QXd S( Nu _test.pyu ci u wu x = 123
( u tempfileu mkdtempu directoryu osu pathu joinu source_pathu pyc_pathu impu cache_from_sourceu
cache_pathu
splitdriveu getcwdu cwd_driveu chdiru openu write( u selfu driveu file( ( u9 /opt/alt/python33/lib64/python3.3/test/test_py_compile.pyu setUp s u PyCompileTests.setUpc C s0 t j | j � | j r, t j | j � n d S( N( u shutilu rmtreeu directoryu cwd_driveu osu chdir( u self( ( u9 /opt/alt/python33/lib64/python3.3/test/test_py_compile.pyu tearDown s u PyCompileTests.tearDownc C sR t j | j | j � | j t j j | j � � | j t j j | j � � d S( N(
u
py_compileu compileu source_pathu pyc_pathu
assertTrueu osu pathu existsu assertFalseu
cache_path( u self( ( u9 /opt/alt/python33/lib64/python3.3/test/test_py_compile.pyu test_absolute_path! s u! PyCompileTests.test_absolute_pathc C s0 t j | j � | j t j j | j � � d S( N( u
py_compileu compileu source_pathu
assertTrueu osu pathu existsu
cache_path( u self( ( u9 /opt/alt/python33/lib64/python3.3/test/test_py_compile.pyu test_cache_path&