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/21573/task/21573/root/usr/lib/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/task/21573/root/usr/lib/python2.4/test/test_urlparse.pyo
mς
‚=5Dc@sidklZdkZdkZdZdZdeifd„ƒYZd„Ze	djoeƒndS((stest_supportNshttp://a/b/c/d;p?q#fshttp://a/b/c/d;p?qtUrlParseTestCasecBsPtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(	NcCs€ti|ƒ}|i||ƒti|ƒ}|i||ƒti|ƒ}|i||ƒti
|ƒ}|i||ƒdS(N(turlparseturltresulttselftassertEqualtparsedt
urlunparsetresult2turlsplittsplitt
urlunsplit(RRRR
RR((t(/usr/lib/python2.4/test/test_urlparse.pytcheckRoundtripssc
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(t	testcasesRRR
RR
(RRR
RR((Rttest_roundtripss6c
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.orgRRRR(swww.python.orgRRR(Rs/b/c/dRRR(Rs/b/c/d;pRR(RR(RtschemeRRR
RR
(RRRR
RR((Rttest_http_roundtrips/sB


cCs,|iti||ƒ||||fƒdS(N(RRRturljointbasetrelurltexpected(RRR R!((Rt	checkJoinKscCs_xXddgD]J}|ititi|ƒƒ|ƒ|ititi|ƒƒ|ƒq
WdS(NtPythons./Python(tuRRRRR	R(RR$((Rttest_unparse_parseOs
"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(RR"tRFC1808_BASE(R((Rttest_RFC1808TsFcCs|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:hR&shttp://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#sR's
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(RR"tRFC2396_BASE(R((Rt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(	R(R*RtdefragR,RRRt	urldefrag(RR,RR-((Rttest_urldefrag―s7(
t__name__t
__module__R
RRR"R%R)R+R/(((RR
s	
					-	.cCstitƒdS(N(ttest_supporttrun_unittestR(((Rt	test_mainΎst__main__(
ttestR2tunittestRR(R*tTestCaseRR4R0(R2RR*R7RR(R4((Rt?s
		΄	


Anon7 - 2021