HEX
Server: Apache
System: Linux sys.digiflyeg.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User: opal (1023)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python2.7/test/test_dircache.pyo
�
zfc@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*/usr/lib64/python2.7/test/test_dircache.pytsetUp
scCs>x'tj|j�D]}|j|�qWtj|j�dS(N(tostlistdirRtdelTemptrmdir(Rtfname((s*/usr/lib64/python2.7/test/test_dircache.pyttearDownscCs/ttjj|j|�d�}|j�dS(Ntw(topenR
tpathtjoinRtclose(RRtf((s*/usr/lib64/python2.7/test/test_dircache.pyt	writeTemps!cCs#tjtjj|j|��dS(N(R
tmkdirRRR(RR((s*/usr/lib64/python2.7/test/test_dircache.pyt	mkdirTempscCsKtjj|j|�}tjj|�r:tj|�n
tj|�dS(N(R
RRRtisdirR
tunlink(RR((s*/usr/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*/usr/lib64/python2.7/test/test_dircache.pyttest_listdir#s

"cCsY|jd�|jd�dddg}tj|j|�|j|dddg�dS(Nttest2tAttest_nonexistentsA/(RRRtannotateRR(Rtlst((s*/usr/lib64/python2.7/test/test_dircache.pyt
test_annotate=s


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