config root man

Current Path : /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 : //usr/local/lib/python2.5/test/test_urlparse.pyc

³ò
h”Rc@srddklZddkZddkZdZdZdeifd„ƒYZd„Ze	djoeƒndS(	iÿÿÿÿ(ttest_supportNshttp://a/b/c/d;p?q#fshttp://a/b/c/d;p?qtUrlParseTestCasecBs}eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„ZRS(
cCs>ti|ƒ}|i||ƒ|i|i|i|i|i|if}|i||ƒti|ƒ}|i||ƒ|i||i	ƒƒti|i	ƒƒ}|i|i	ƒ|i	ƒƒ|i||ƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i
|i
ƒ|i|i|iƒ|i|i|iƒ|i|i
|i
ƒti|ƒ}|i||ƒ|i|i|i|i|if}|i||ƒti|ƒ}|i||ƒ|i||i	ƒƒti|i	ƒƒ}|i|i	ƒ|i	ƒƒ|i||ƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i|iƒ|i|i
|i
ƒ|i|i|iƒ|i|i|iƒ|i|i
|i
ƒdS(N(turlparsetassertEqualtschemetnetloctpathtparamstquerytfragmentt
urlunparsetgeturltusernametpasswordthostnametportturlsplitt
urlunsplit(tselfturltparsedtsplittresulttttresult2tresult3((s./usr/local/lib/python2.5/test/test_urlparse.pytcheckRoundtripssRc
Csgdddfdddfd	ddfd
ddfg}x*|D]"\}}}|i|||ƒq=WdS(Nsfile:///tmp/junk.txttfilets
/tmp/junk.txtsimap://mail.python.org/mbox1timapsmail.python.orgs/mbox1s1mms://wms.sys.hinet.net/cts/Drama/09006251100.asftmmsswms.sys.hinet.nets/cts/Drama/09006251100.asfs0svn+ssh://svn.zope.org/repos/main/ZConfig/trunk/ssvn+sshssvn.zope.orgs/repos/main/ZConfig/trunk/(sfileRs
/tmp/junk.txtRRR(sfileRs
/tmp/junk.txtRR(Rsmail.python.orgs/mbox1RRR(Rsmail.python.orgs/mbox1RR(Rswms.sys.hinet.nets/cts/Drama/09006251100.asfRRR(Rswms.sys.hinet.nets/cts/Drama/09006251100.asfRR(ssvn+sshssvn.zope.orgs/repos/main/ZConfig/trunk/RRR(ssvn+sshssvn.zope.orgs/repos/main/ZConfig/trunk/RR(R(Rt	testcasesRRR((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_roundtrips?s&c
Cs¨dddfdddfdddfdddfd
ddfg}x_dD]W}xN|D]F\}}}||}|f|}|f|}|i|||ƒqVWqIWdS(Ns://www.python.orgswww.python.orgRs://www.python.org#abctabcs://www.python.org?q=abcsq=abcs://www.python.org/#abct/s://a/b/c/d;p?q#ftas/b/c/dtptqtfs/b/c/d;pthttpthttps(swww.python.orgRRRR(swww.python.orgRRR(swww.python.orgRRRR!(swww.python.orgRRR!(swww.python.orgRRsq=abcR(swww.python.orgRsq=abcR(swww.python.orgR"RRR!(swww.python.orgR"RR!(R#s/b/c/dR$R%R&(R#s/b/c/d;pR%R&(R'R((R(RRRRRR((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_http_roundtripsUs.


cCs,|iti||ƒ||||fƒdS(N(RRturljoin(Rtbasetrelurltexpected((s./usr/local/lib/python2.5/test/test_urlparse.pyt	checkJoinqscCs_xXddgD]J}|ititi|ƒƒ|ƒ|ititi|ƒƒ|ƒq
WdS(NtPythons./Python(RRRRR
(Rtu((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_unparse_parseus
"cCs|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itd	d
ƒ|itddƒ|itd
dƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itd dƒ|itd!d"ƒ|itd#d$ƒ|itd%d$ƒ|itd&dƒ|itd'd(ƒ|itd)d*ƒ|itd+d,ƒ|itd-d.ƒ|itd/d*ƒ|itd0d1ƒ|itd2d3ƒ|itd4d5ƒ|itd6d7ƒ|itd8d"ƒ|itd9dƒ|itd:d;ƒ|itd<d=ƒdS(>Nsg:htgshttp://a/b/c/gs./gsg/shttp://a/b/c/g/s/gs
http://a/gs//gshttp://gsg?yshttp://a/b/c/g?ysg?y/./xshttp://a/b/c/g?y/./xs#sshttp://a/b/c/d;p?q#ssg#sshttp://a/b/c/g#ssg#s/./xshttp://a/b/c/g#s/./xsg?y#sshttp://a/b/c/g?y#ssg;xshttp://a/b/c/g;xsg;x?y#sshttp://a/b/c/g;x?y#st.s
http://a/b/c/s./s..shttp://a/b/s../s../gshttp://a/b/gs../..s	http://a/s../../s../../gRshttp://a/b/c/d;p?q#fs
../../../gs
http://a/../gs
../../../../gshttp://a/../../gs/./gshttp://a/./gs/../gsg.shttp://a/b/c/g.s.gshttp://a/b/c/.gsg..shttp://a/b/c/g..s..gshttp://a/b/c/..gs./../gs./g/.sg/./hshttp://a/b/c/g/hsg/../hshttp://a/b/c/h(R.tRFC1808_BASE(R((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_RFC1808zsFcCs|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itd	d
ƒ|itddƒ|itd
dƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itddƒ|itd dƒ|itd!d"ƒ|itd#d$ƒ|itd%d$ƒ|itd&dƒ|itd'tƒ|itd(d)ƒ|itd*d+ƒ|itd,d-ƒ|itd.d)ƒ|itd/d0ƒ|itd1d2ƒ|itd3d4ƒ|itd5d6ƒ|itd7d"ƒ|itd8d
ƒ|itd9d:ƒ|itd;d<ƒ|itd=d>ƒ|itd?d@ƒ|itdAdBƒ|itdCdDƒ|itdEdFƒ|itdGdHƒdS(INs?yshttp://a/b/c/?ys;xshttp://a/b/c/;xsg:hR2shttp://a/b/c/gs./gsg/shttp://a/b/c/g/s/gs
http://a/gs//gshttp://gsg?yshttp://a/b/c/g?ys#sshttp://a/b/c/d;p?q#ssg#sshttp://a/b/c/g#ssg?y#sshttp://a/b/c/g?y#ssg;xshttp://a/b/c/g;xsg;x?y#sshttp://a/b/c/g;x?y#sR3s
http://a/b/c/s./s..shttp://a/b/s../s../gshttp://a/b/gs../..s	http://a/s../../s../../gRs
../../../gs
http://a/../gs
../../../../gshttp://a/../../gs/./gshttp://a/./gs/../gsg.shttp://a/b/c/g.s.gshttp://a/b/c/.gsg..shttp://a/b/c/g..s..gshttp://a/b/c/..gs./../gs./g/.sg/./hshttp://a/b/c/g/hsg/../hshttp://a/b/c/hs	g;x=1/./yshttp://a/b/c/g;x=1/ys
g;x=1/../yshttp://a/b/c/ysg?y/./xshttp://a/b/c/g?y/./xsg?y/../xshttp://a/b/c/g?y/../xsg#s/./xshttp://a/b/c/g#s/./xsg#s/../xshttp://a/b/c/g#s/../x(R.tRFC2396_BASE(R((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_RFC2396§sRcCsmxfddddddddtdd
ftddfg
D].\}}}|iti|ƒ||fƒq7WdS(Nshttp://python.org#fragshttp://python.orgtfragRshttp://python.org/#fragshttp://python.org/shttp://python.org/?q#fragshttp://python.org/?qshttp://python.org/p#fragshttp://python.org/pshttp://python.org/p?qshttp://a/b/c/d;p?qR&(shttp://python.org#fragshttp://python.orgsfrag(shttp://python.orgshttp://python.orgR(shttp://python.org/#fragshttp://python.org/sfrag(shttp://python.org/shttp://python.org/R(shttp://python.org/?q#fragshttp://python.org/?qsfrag(shttp://python.org/?qshttp://python.org/?qR(shttp://python.org/p#fragshttp://python.org/psfrag(shttp://python.org/p?qshttp://python.org/p?qR(R4R6RRt	urldefrag(RRtdefragR8((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_urldefragÕscCsšd}ti|ƒ}|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|i
dƒ|i|idƒ|i|idƒd}ti|ƒ}|i|idƒ|i|id	ƒ|i|idƒ|i|id
ƒ|i|idƒ|i|idƒ|i|i
dƒ|i|idƒ|i|id
ƒ|i|i
ƒ|ƒdS(NsHTTP://WWW.PYTHON.ORG/doc/#fragR'sWWW.PYTHON.ORGs/doc/RR8swww.python.orgs7http://User:Pass@www.python.org:080/doc/?query=yes#fragsUser:Pass@www.python.org:080s	query=yestUsertPassiP(RRRRRRRR	RtNoneR
RRR(RRR$((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_urlsplit_attributesäs.csztidƒ‰|iˆidƒ|it‡fd†ƒtidƒ‰|iˆidƒ|it‡fd†ƒdS(s$Check handling of non-integer ports.shttp://www.example.net:fooswww.example.net:foocsˆiS((R((R$(s./usr/local/lib/python2.5/test/test_urlparse.pyt<lambda>scsˆiS((R((R$(s./usr/local/lib/python2.5/test/test_urlparse.pyR@	sN(RRRRtassertRaisest
ValueError(R((R$s./usr/local/lib/python2.5/test/test_urlparse.pyttest_attributes_bad_portscCsd}ti|ƒ}|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|i	ƒ|ƒti|ƒ}|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|idƒ|i|i	ƒ|ƒdS(Ns0sip:alice@atlanta.com;maddr=239.255.255.1;ttl=15R(
RRRRRR>R
RRR(RturiR$((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_attributes_without_netlocscCsd}t|ƒ}ti|ƒti|ƒ}|it|iƒt|ƒƒ|it|iƒt|ƒƒ|it|iƒt|ƒƒdS(Nshttp://example.com/doc/(tunicodeRRttypeRRR(RRDtunicode_uriR$((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_caching"s
cCs|itidƒdƒdS(Ns http://example.com?blahblah=/fooR'sexample.comRs
blahblah=/foo(shttpsexample.comRRs
blahblah=/fooR(RR(R((s./usr/local/lib/python2.5/test/test_urlparse.pyttest_noslash-s(t__name__t
__module__RR R)R.R1R5R7R;R?RCRERIRJ(((s./usr/local/lib/python2.5/test/test_urlparse.pyR
s	3					-	.			
		cCstitƒdS(N(Rtrun_unittestR(((s./usr/local/lib/python2.5/test/test_urlparse.pyt	test_main2st__main__(
ttestRtunittestRR4R6tTestCaseRRNRK(((s./usr/local/lib/python2.5/test/test_urlparse.pys<module>sÿ)	


Man Man