config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_shutil.pyc

³ò
h”Rc@s²ddkZddkZddkZddkZddkZddkZddkZddklZddk	l
Z
deifd„ƒYZd„Z
edjoe
ƒndS(iÿÿÿÿN(ttest_support(tTESTFNt
TestShutilcBs§eZd„ZeedƒoEeid djo1eedƒoeiƒdjo
d„Znd„Z	d„Z
d	„Zd
„Zeedƒo
d„Z
nRS(
cCs&tiƒ}|itti|ƒdS(N(ttempfiletmktemptassertRaisestOSErrortshutiltrmtree(tselftfilename((s,/usr/local/lib/python2.5/test/test_shutil.pyttest_rmtree_errorsstchmoditcygwintgeteuidicCsúd|_titƒtiitdƒ|_t|idƒ}|iƒti	tƒi
}ti	|iƒi
}ti|it	iƒtitt	iƒt
itd|iƒ|i|iddƒtit|ƒti|i|ƒt
itƒdS(Nitatwtonerroris1Expected call to onerror function did not happen.(t
errorStatetostmkdirRtpathtjoint	childpathtopentclosetstattst_modeRtS_IREADRRtcheck_args_to_onerrortassertEqual(R	tftold_dir_modetold_child_mode((s,/usr/local/lib/python2.5/test/test_shutil.pyt
test_on_errors	

cCs§|idjoM|i|tiƒ|i||iƒ|it|dtƒƒd|_nG|i|tiƒ|i|t	ƒ|it|dtƒƒd|_dS(Niii(
RRRtremoveRt
failUnlesst
issubclassRtrmdirR(R	tfunctargtexc((s,/usr/local/lib/python2.5/test/test_shutil.pyR/s
cCsLtiƒ\}}ti|ƒiƒ|itti|ƒti	|ƒdS(N(
RtmkstempRtfdopenRRRRRR#(R	thandleR((s,/usr/local/lib/python2.5/test/test_shutil.pyttest_rmtree_dont_delete_file;sc	Csdtiƒ}z5tii|dƒ}|ititi||ƒWdyti	|ƒWnnXXdS(Ntfoo(
RtmkdtempRRRRRtErrortmoveR&(R	tsrc_dirtdst((s,/usr/local/lib/python2.5/test/test_shutil.pyttest_dont_move_dir_in_itselfBs cCs\d„}d„}tiƒ}tiitiƒdƒ}|tii|dƒdƒtitii|dƒƒ|tii|ddƒdƒzèti||ƒ|itii	tii|dƒƒƒ|itii
tii|dƒƒƒ|itii	tii|ddƒƒƒ|tii|dƒƒ}|i|dƒ|tii|ddƒƒ}|i|dƒWdx€tii|dƒtii|dƒtii|ddƒtii|ddƒfD]*}tii|ƒoti
|ƒqÐqÐWxVtii|dƒtii|dƒfD]*}tii|ƒoti|ƒq)q)WXdS(NcSs*t|dƒ}|i|ƒ|iƒdS(NR(RtwriteR(RtdataR((s,/usr/local/lib/python2.5/test/test_shutil.pyt
write_dataNs
cSs&t|ƒ}|iƒ}|iƒ|S(N(RtreadR(RRR6((s,/usr/local/lib/python2.5/test/test_shutil.pyt	read_dataSs
tdestinationstest.txtt123ttest_dirt456(RR/RRRRRtcopytreet
assertTruetisfiletisdirRtexistsR#t
removedirs(R	R7R9R2tdst_dirtactualR((s,/usr/local/lib/python2.5/test/test_shutil.pyttest_copytree_simpleMs>		((
tsymlinkc	Cs@titƒtiitdƒ}tiitdƒ}zÚt|dƒ}|idƒ|iƒti||ƒ|i	t
it
i||ƒ|i
t|dƒiƒdƒti|ƒtid|ƒ|i	t
it
i||ƒ|i
t|dƒiƒdƒti|ƒWdyt
itƒWntj
onXXdS(NtcheesetshopRtcheddartr(RRRRRRR5RtlinkRRR0tcopyfileRR8R#RGRR(R	tsrcR3R((s,/usr/local/lib/python2.5/test/test_shutil.pyt'test_dont_copy_file_onto_link_to_itself}s&



(t__name__t
__module__RthasattrRtsystplatformRR"RR-R4RFRO(((s,/usr/local/lib/python2.5/test/test_shutil.pyR
s	$$
				/cCstitƒdS(N(Rtrun_unittestR(((s,/usr/local/lib/python2.5/test/test_shutil.pyt	test_main™st__main__(tunittestRRRSRRtos.pathttestRttest.test_supportRtTestCaseRRVRP(((s,/usr/local/lib/python2.5/test/test_shutil.pys<module>sŒ	


Man Man