Your IP : 216.73.216.213


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pyo

�
��\c@s�dZddlZddlmZddlmZddlmZddlmZddlmZddl	m
Zyddlm
Z
Wn!ek
r�ddlm
Z
nXddlZyddlmZWn?ek
ryddlmZWqek
rdZqXnXd�Zd	�Zer0d
�Znejjd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�ZdS(ss
Example module that is used for testing modules that import file system modules
to be patched under another name.
i����N(tpath(tstat(texists(topen(tPathcCstjj|�S(N(tmy_osRR(tfilepath((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytcheck_if_exists1)scCs
tj|�S(N(RR(R((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytcheck_if_exists2.scCst|�j�S(N(RR(R((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytcheck_if_exists34scCs
||�S(N((Rtfile_exists((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytcheck_if_exists49scCs
t|�S(N(R(R((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytcheck_if_exists5>scCs
t|�S(N(t	my_exists(R((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytcheck_if_exists6CscCs
t|�S(N(R(R((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pyt
file_stat1HscCs
t|�S(N(tmy_stat(R((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pyt
file_stat2MscCs<tjdkr"ddlm}nddlm}||�S(Ntwin32i����(R(tsystplatformtntRtposix(Rtsystem_stat((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pyRRscCs#t|��}|j�SWdQXdS(N(t	bltn_opentread(Rtf((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytfile_contents1ZscCs#t|��}|j�SWdQXdS(N(tio_openR(RR((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pytfile_contents2_s( t__doc__tosRRRRtos.pathRR
tioRRtbuiltinsRtImportErrort__builtin__RtpathlibRtpathlib2tNoneRRR	RRRRRRRR(((sQ/opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pyt<module>s>