Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.218.250.235
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_dircache.pyo
�
?��cc@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((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pytsetUp
scCs>x'tj|j�D]}|j|�qWtj|j�dS(N(tostlistdirRtdelTemptrmdir(Rtfname((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyttearDownscCs/ttjj|j|�d�}|j�dS(Ntw(topenR
tpathtjoinRtclose(RRtf((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyt	writeTemps!cCs#tjtjj|j|��dS(N(R
tmkdirRRR(RR((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyt	mkdirTempscCsKtjj|j|�}tjj|�r:tj|�n
tj|�dS(N(R
RRRtisdirR
tunlink(RR((s9/usr/local/python-2.7/lib/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((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyttest_listdir#s

"cCsY|jd�|jd�dddg}tj|j|�|j|dddg�dS(Nttest2tAttest_nonexistentsA/(RRRtannotateRR(Rtlst((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyt
test_annotate=s


(	t__name__t
__module__R	RRRRR(R.(((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyRs						cCs ztt�Wdtj�XdS(N(RRRtreset(((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyt	test_mainEst__main__(t__doc__tunittestttest.test_supportRRtTrueRR
R#R!RtTestCaseRR2R/(((s9/usr/local/python-2.7/lib/python2.7/test/test_dircache.pyt<module>s09	
© 2025 GrazzMean