shell bypass 403
�
���cc @ s� d d l Z d d l Z d d l m Z d d l m Z d e j e j f d � � YZ d d d � � YZ d e e j f d
� � YZ d e e j
e j f d � � YZ e d
k r� e j
� n d S( i����Ni ( t data01( t utilt CommonTestsc B s e Z d � Z RS( c C s t j | | � � Wd QXd S( N( t resourcest path( t selft packageR ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyt execute
s ( t __name__t
__module__R ( ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyR s t PathTestsc B s e Z d � Z RS( c C s~ t j | j d � �c } | j | j j d � t | � � | j d d d �� } | j � } Wd QX| j d | � Wd QXd S( Ns
utf-8.filet rt encodings utf-8s Hello, UTF-8 world!
(
R R t datat
assertTruet namet endswitht reprt opent readt assertEqual( R R t filet text( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyt test_reading s
"( R R R ( ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyR
s t
PathDiskTestsc B s e Z e Z d � Z RS( c C s: t j | j d � � } d t | � k s0 t � Wd QXd S( s�
Guarantee the internal implementation detail that
file-system-backed resources do not get the tempdir
treatment.
s
utf-8.fileR
N( R R R
t strt AssertionError( R R ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyt test_natural_path s ( R R R R
R ( ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyR s t PathZipTestsc B s e Z d � Z RS( c C s, t j | j d � � } | j � Wd QXd S( Ns
utf-8.file( R R R
t unlink( R R ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyt test_remove_in_context_manager+ s ( R R R ( ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyR * s t __main__( ( t unittestt importlib_resourcesR t R R R t TestCaseR
R t ZipSetupR R t main( ( ( sG /usr/lib/python2.7/site-packages/importlib_resources/tests/test_path.pyt <module> s
"