HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/test/test_dircache.pyc
�
N��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./usr/local/lib/python2.7/test/test_dircache.pytsetUp
scCs>x'tj|j�D]}|j|�qWtj|j�dS(N(tostlistdirRtdelTemptrmdir(Rtfname((s./usr/local/lib/python2.7/test/test_dircache.pyttearDownscCs/ttjj|j|�d�}|j�dS(Ntw(topenR
tpathtjoinRtclose(RRtf((s./usr/local/lib/python2.7/test/test_dircache.pyt	writeTemps!cCs#tjtjj|j|��dS(N(R
tmkdirRRR(RR((s./usr/local/lib/python2.7/test/test_dircache.pyt	mkdirTempscCsKtjj|j|�}tjj|�r:tj|�n
tj|�dS(N(R
RRRtisdirR
tunlink(RR((s./usr/local/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((s./usr/local/lib/python2.7/test/test_dircache.pyttest_listdir#s

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


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