KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/22697/root/usr/lib64/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/lib64/python2.4/test/test_shutil.pyo
mò
‚=5Dc@s—dkZdkZdkZdkZdkZdkZdkZdklZdk	l
Z
deifd„ƒYZd„Z
edjoe
ƒndS(N(stest_support(sTESTFNt
TestShutilcBsžtZd„ZeedƒoEeid djo1eedƒoeiƒdjo
d„Znd„Z	d	„Z
d
„Zeedƒo
d„ZnRS(
NcCs&tiƒ}|itti|ƒdS(N(ttempfiletmktemptfilenametselftassertRaisestOSErrortshutiltrmtree(RR((t(/usr/lib64/python2.4/test/test_shutil.pyttest_rmtree_errorsstchmoditcygwintgeteuidicCs÷d|_titƒtiitdƒ|_t|idƒ}|i
ƒtitƒi}ti|iƒi}ti|itiƒtittiƒtitd|iƒ|i|idƒtit|ƒti|i|ƒtitƒdS(Nitatwtonerrori(Rt
errorStatetostmkdirtTESTFNtpathtjoint	childpathtopentftclosetstattst_modetold_dir_modetold_child_modeRtS_IREADRRtcheck_args_to_onerrortassertEqual(RRRR((R	t
test_on_errors	

cCs›|idjoG|i|tiƒ|i||iƒ|i|dt	ƒd|_nA|i|ti
ƒ|i|tƒ|i|dt	ƒd|_dS(Niii(RRR!tfuncRtremovetargRtexcRtrmdirR(RR#R%R&((R	R ,s
cCsLtiƒ\}}ti|ƒiƒ|it	t
i|ƒti|ƒdS(N(
RtmkstempthandleRRtfdopenRRRRRRR$(RR)R((R	ttest_rmtree_dont_delete_file8scCsdtiƒ}z5tii|dƒ}|it	i
t	i||ƒWdyti|ƒWnnXXdS(Ntfoo(
Rtmkdtemptsrc_dirRRRtdstRRRtErrortmoveR'(RR.R/((R	ttest_dont_move_dir_in_itself?s tsymlinkcCs@titƒtiitdƒ}tiitdƒ}zÚt|dƒ}|i	dƒ|i
ƒti||ƒ|i
titi||ƒ|it|dƒiƒdƒti|ƒtid|ƒ|i
titi||ƒ|it|dƒiƒdƒti|ƒWdytitƒWntj
onXXdS(NtcheesetshopRtcheddartr(RRRRRtsrcR/RRtwriteRtlinkRRRR0tcopyfileR!treadR$R3RR(RR8RR/((R	t'test_dont_copy_file_onto_link_to_itselfKs(



(
t__name__t
__module__R
thasattrRtsystplatformR
R"R R+R2R=(((R	R
s	H
			cCstitƒdS(N(ttest_supporttrun_unittestR(((R	t	test_maingst__main__(tunittestRRRARRtos.pathttestRCttest.test_supportRtTestCaseRRER>(
RCRRRRGRARERRR((R	t?s							

Z	


Anon7 - 2021