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_posixpath.pyo

³ò
h”Rc@s©ddkZddklZddkZddkZddklZlZlZlZl	Z	eei
ƒZdeifd„ƒYZ
d„ZedjoeƒndS(iÿÿÿÿN(ttest_support(trealpathtabspathtjointdirnametbasenamet
PosixPathTestcBs<eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZeedƒoLd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d „Z"nRS(!cCs|i||jƒdS(N(tassert_(tselftatb((s//usr/local/lib/python2.5/test/test_posixpath.pytassertIsscCsEd}ti|ƒ}|i|ti|ƒƒ|ittiƒdS(Ns	FoO/./BaR(t	posixpathtnormcasetassertEqualtassertRaisest	TypeError(Rtp((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_normcasescCsw|itiddddƒdƒ|itidddƒdƒ|itiddd	ƒd
ƒ|ittiƒdS(Ns/footbars/bartbazs/bar/bazs/foo/bar/bazs/foo/sbar/sbaz/s
/foo/bar/baz/(RRRRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt	test_joins"cCs0|itidƒdƒ|ittiƒdS(Ns/foo/bart(Rs/foo/bar(RRt
splitdriveRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_splitdrive scCs”|itidƒdƒ|itidƒdƒ|itidƒd
ƒ|itidƒdƒ|itid	ƒdƒ|ittiƒdS(Ns/foo/bars/fooRt/Rtfoos////foos////s
//foo//bars//foo(s/foosbar(RR(RR(s////R(s//foosbar(RRtsplitRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_split%scCsÆ|itidƒdƒ|itidƒdƒ|itidƒd
ƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|itid	ƒdƒ|ittiƒdS(Nsfoo.extRs.exts/foo/foo.exts/foo/fooRs/foo.ext/foosfoo.ext/sfoo.bar.extsfoo.bar(sfoos.ext(s/foo/foos.ext(Rs.ext(s/foo.ext/fooR(sfoo.ext/R(RR(sfoo.bars.ext(RRtsplitextRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_splitext.scCs”|itidƒtƒ|itidƒtƒ|itidƒtƒ|itidƒtƒ|itidƒtƒ|ittiƒdS(NRRs/foos/foo/barsfoo/bar(RRtisabstFalsetTrueRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_isabs9scCs0|itidƒdƒ|ittiƒdS(Ns/foo/barR(Rs/foo/bar(RRRRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyRBscCs”|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|ittiƒdS(Ns/foo/barRRRRs////foos
//foo//bar(RRRRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_basenameGscCs”|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒd	ƒ|ittiƒdS(
Ns/foo/bars/fooRRRs////foos////s
//foo//bars//foo(RRRRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_dirnamePscCsz|itigƒdƒ|itiddgƒdƒ|itiddgƒdƒ|itiddgƒdƒdS(NRs/home/swenson/spams/home/swen/spams
/home/swens/home/swen/eggss/home/swen/(RRtcommonprefix(R((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_commonprefixYscCsyttidƒ}z7|idƒ|iƒ|ititiƒdƒWd|ip|iƒnt	i
tiƒXdS(NtwbRi(topenRtTESTFNtwritetcloseRRtgetsizetclosedtostremove(Rtf((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_getsizeks

 
cCséttidƒ}z§|idƒ|iƒttidƒ}|idƒ|iƒttidƒ}|iƒ}|iƒ|i|dƒ|iti	tiƒti
tiƒjƒWd|ip|iƒnti
tiƒXdS(NR'RtabRtrbtfoobar(R(RR)R*R+treadRRRtgetctimetgetmtimeR-R.R/(RR0td((s//usr/local/lib/python2.5/test/test_posixpath.pyt	test_timevs"





c
CsÏ|ititidƒtƒttiddƒ}z|idƒ|iƒ|ititidƒtƒt	t
dƒo¶t
itidtidƒ|ititidƒtƒt
i
tidƒ|ititidƒtƒ|ititidƒtƒ|ititidƒtƒnWd|iƒp|iƒnyt
i
tidƒWnt
ij
onXyt
i
tidƒWnt
ij
onXX|ittiƒdS(Nt1R'Rtsymlinkt2(RRtislinkRR)R R(R*R+thasattrR.R;R!R/texiststlexiststerrorRR(RR0((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_islinkŒs0 

    (
c	Csä|ititiƒtƒttidƒ}zS|idƒ|iƒ|ititiƒt	ƒ|iti
tiƒt	ƒWd|iƒp|iƒnytitiƒWnti
j
onXX|ittiƒdS(NR'R(RRR?RR)R R(R*R+R!R@R.R/RARR(RR0((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_exists¨s

 
cCsA|ititiƒtƒttidƒ}zƒ|idƒ|iƒ|ititiƒtƒt	i
tiƒt	itiƒ|ititiƒtƒt	i
tiƒWd|iƒp|iƒnyt	i
tiƒWnt	ij
onXyt	i
tiƒWnt	ij
onXX|ittiƒdS(NR'R(RRtisdirRR)R R(R*R+R.R/tmkdirR!trmdirRARR(RR0((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_isdirºs*


cCsJ|ititiƒtƒttidƒ}zƒ|idƒ|iƒ|ititiƒt	ƒt
itiƒt
itiƒ|ititiƒtƒt
i
tiƒWd|iƒp|iƒnyt
itiƒWnt
ij
onXyt
i
tiƒWnt
ij
onXX|ittiƒd„}dS(NR'Rc
Ssºttiddƒ}z|idƒ|iƒ|ititidtidƒtƒt	t
dƒo·t
itidtidƒ|ititidtidƒtƒt
itidƒttiddƒ}|idƒ|iƒ|ititidtidƒt
ƒnWd|iƒp|iƒnyt
itidƒWnt
ij
onXyt
itidƒWnt
ij
onXX|ittiƒdS(NR:R'RR;R<R(R(RR)R*R+RRtsamefileR!R>R.R;R/R RARR(RR0((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_samefileìsL











(RRtisfileRR)R R(R*R+R!R.R/RERFRARRRD(RR0RI((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_isfileÓs,


c
Csttiddƒ}zV|idƒ|iƒ|ititi	tidƒti	tidƒƒt
ƒttdƒoïttdƒortitidtidƒ|ititi	tidƒti	tidƒƒt
ƒti
tidƒnttiddƒ}|idƒ|iƒ|ititi	tidƒti	tidƒƒtƒnWd|iƒp|iƒnyti
tidƒWntij
onXyti
tidƒWntij
onXX|ittiƒdS(NR:R'RR;R<R(R(RR)R*R+RRtsamestatR.tstatR!R>R;R/R RARR(RR0((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_samestatsJ




cCs0|itidƒtƒ|ittiƒdS(NR(RRtismountR!RR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_ismountPscCsó|itidƒdƒyddk}Wntj
onŸX|ittidƒtƒƒtidƒdjo*|itidƒdtidƒƒn|ittidƒtƒƒ|ittidƒtƒƒ|it	tiƒdS(NRiÿÿÿÿs~/t~Rs~root/s~foo/(
RRt
expandusertpwdtImportErrorRt
isinstancet
basestringRR(RRS((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_expanduserUscCsytiiƒ}z2tiiƒdtid<dtid<dtid<|itidƒdƒ|itidƒdƒ|itid	ƒd
ƒ|itidƒdƒ|itidƒdƒ|itid
ƒd
ƒ|itid	ƒd
ƒ|itidƒdƒ|itidƒdƒ|itidƒdƒWdtiiƒtii|ƒX|it	tiƒdS(NRRtbaz1s{footbaz2s{foo}s$foo barsbar bars	${foo}bartbarbars	$[foo]bars$bar bars$?bars$foo}barsbar}bars${foos${{foo}}sbaz1}(
R.tenvirontcopytclearRRt
expandvarstupdateRR(Rtoldenv((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_expandvarshs&




cCsÆ|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|itidƒd	ƒ|itid
ƒdƒ|ittiƒdS(NRt.Rs//s///s///foo/.//bar//s/foo/bars///foo/.//bar//.//..//.//bazs/foo/bazs///..//./foo/.//bar(RRtnormpathRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_normpathscCs3|idtidƒjƒ|ittiƒdS(NR(RRRRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_abspathŠscCs0|idtdƒjƒ|ittiƒdS(NR(RRRRR(R((s//usr/local/lib/python2.5/test/test_posixpath.pyt
test_realpathsR;cCsGz2titdtƒ|ittƒtdƒWd|itƒXdS(NR:(R.R;tABSTFNRRtsafe_remove(R((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_realpath_basic”scCszÑtdƒ}tittƒ|ittƒtƒtitdtdƒtitdtdƒ|ittdƒtdƒ|ittdƒtdƒtittƒƒ|itttƒƒtƒWdti|ƒ|i	tƒ|i	tdƒ|i	tdƒXdS(NRbR:R<(
RR.R;RgRRtchdirRRRh(Rtold_path((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_realpath_symlink_loopsœs 

cCsµzqtdƒ}titƒtitdƒtitdtdƒtitdƒ|itdƒtdƒWdti|ƒ|itdƒ|i	tdƒ|i	tƒXdS(NRbs/ys/kR	s/y/a(
RR.RERgR;RjRRRht
safe_rmdir(RRk((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_realpath_resolve_parents²s

cCsz¬tdƒ}titƒtitdƒtitdƒtitdtdƒ|ittdƒtdƒtittƒƒ|itt	tƒdƒtdƒWdti|ƒ|i
tdƒ|itdƒ|itdƒ|itƒXdS(NRbs/ks/k/ys/link-ys
/link-y/..(RR.RERgR;RRRjRRRhRm(RRk((s//usr/local/lib/python2.5/test/test_posixpath.pyt(test_realpath_resolve_before_normalizingÅs
(
cCsÝz™tdƒ}titƒtitdƒtittdƒtittƒƒttƒ}|it	|dƒtƒ|it	|dƒtdƒWdti|ƒ|i
tdƒ|itdƒ|itƒXdS(NRbs/ktlinkslink/k(RR.RERgR;RjRRRRRhRm(RRktbase((s//usr/local/lib/python2.5/test/test_posixpath.pyttest_realpath_resolve_firstàs
"
cCs(y||ƒWntj
onXdS(N(tOSError(Rtfunctfilename((s//usr/local/lib/python2.5/test/test_posixpath.pyt
pass_os_errorõscCs|iti|ƒdS(N(RvR.R/(RRu((s//usr/local/lib/python2.5/test/test_posixpath.pyRhùscCs|iti|ƒdS(N(RvR.RF(RR((s//usr/local/lib/python2.5/test/test_posixpath.pyRmüs(#t__name__t
__module__RRRRRRR"R#R$R&R1R9RBRCRGRKRNRPRWRaRdReRfR>R.RiRlRnRoRrRvRhRm(((s//usr/local/lib/python2.5/test/test_posixpath.pyRsB																					L	1													cCstitƒdS(N(Rtrun_unittestR(((s//usr/local/lib/python2.5/test/test_posixpath.pyt	test_mainÿst__main__(tunittestttestRRR.RRRRRR)RgtTestCaseRRzRw(((s//usr/local/lib/python2.5/test/test_posixpath.pys<module>s(ÿô	


Man Man