HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/pyfakefs/tests/import_as_example.pyc
�
��\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>