Current File : //opt/imh-python/lib/python2.7/test/test_urlparse.pyo
�
��Wc!@sddlmZddlZddlZdZdZdZdZdgfdgfdgfd	ddfgfd
ddfgfdddfgfdddfgfdddfgfd
ddfgfdddfddfgfdddfddfgfdgfdgfdddfgfdddfddfgfdddfddfgfdgfdgfdddfgfdddfddfgfdddfddfgfgZdifdifdifd	idgd6fd
idgd6fdidgd6fdidgd6fd
idgd6fdidgd6dgd6fdiddgd6fdifdifdifd	idgd6fd
idgd6fdidgd6fdidgd6fd
idgd6fdidgd6dgd6fdiddgd6fdifdifdidgd6fdidgd6dgd6fdiddgd6fdifdifdidgd6fdidgd6dgd6fdiddgd6fgZ	dej
fd��YZd�Ze
dkr�e�ndS(i����(ttest_supportNshttp://a/b/c/d;p?q#fshttp://a/b/c/d;p?qshttp://a/b/c/dtt&s&&t=s=atasa=s&a=btbsa=a+b&b=b+csa bsb csa=1&a=2t1t2t;s;;s;a=bsa=a+b;b=b+csa=1;a=2tUrlParseTestCasecBs�eZd�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�Zd�ZRS(cCs>tj|�}|j||�|j|j|j|j|j|jf}|j||�tj|�}|j||�|j||j	��tj|j	��}|j|j	�|j	��|j||�|j|j|j�|j|j|j�|j|j|j�|j|j|j�|j|j|j�|j|j|j�|j|j
|j
�|j|j|j�|j|j|j�|j|j
|j
�tj|�}|j||�|j|j|j|j|jf}|j||�tj|�}|j||�|j||j	��tj|j	��}|j|j	�|j	��|j||�|j|j|j�|j|j|j�|j|j|j�|j|j|j�|j|j|j�|j|j
|j
�|j|j|j�|j|j|j�|j|j
|j
�dS(N(turlparsetassertEqualtschemetnetloctpathtparamstquerytfragmentt
urlunparsetgeturltusernametpasswordthostnametportturlsplitt
urlunsplit(tselfturltparsedtsplittresulttttresult2tresult3((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pytcheckRoundtripsHsRcCs�x�tD]�\}}tj|dt�}|j||d|�g|D]}t|d�rF|^qF}tj|dt�}|j||d|�qWdS(Ntkeep_blank_valuessError parsing %ri(tparse_qsl_test_casesR
t	parse_qsltTrueRtlentFalse(RtorigtexpectRtvtexpect_without_blanks((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_qsl{s)cCs�x�tD]�\}}tj|dt�}|j||d|�tg|D]*}t||d�rI|||f^qI�}tj|dt�}|j||d|�qWdS(NR#sError parsing %ri(tparse_qs_test_casesR
tparse_qsR&RtdictR'R((RR)R*RR+R,((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_qs�s:cCsdddfdddfd	ddfd
dd fdd!d"fdd#d$fg}x*|D]"\}}}|j|||�qUWdS(%Nsfile:///tmp/junk.txttfileRs
/tmp/junk.txtsimap://mail.python.org/mbox1timapsmail.python.orgs/mbox1s1mms://wms.sys.hinet.net/cts/Drama/09006251100.asftmmsswms.sys.hinet.nets/cts/Drama/09006251100.asfsnfs://server/path/to/file.txttnfstservers/path/to/file.txts0svn+ssh://svn.zope.org/repos/main/ZConfig/trunk/ssvn+sshssvn.zope.orgs/repos/main/ZConfig/trunk/s)git+ssh://git@github.com/user/project.gitsgit+sshsgit@github.coms/user/project.git(sfileRs
/tmp/junk.txtRRR(sfileRs
/tmp/junk.txtRR(R3smail.python.orgs/mbox1RRR(R3smail.python.orgs/mbox1RR(R4swms.sys.hinet.nets/cts/Drama/09006251100.asfRRR(R4swms.sys.hinet.nets/cts/Drama/09006251100.asfRR(R5R6s/path/to/file.txtRRR(R5R6s/path/to/file.txtRR(ssvn+sshssvn.zope.orgs/repos/main/ZConfig/trunk/RRR(ssvn+sshssvn.zope.orgs/repos/main/ZConfig/trunk/RR(sgit+sshsgit@github.coms/user/project.gitRRR(sgit+sshsgit@github.coms/user/project.gitRR(R"(Rt	testcasesRRR((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_roundtrips�s4c
Cs�dddfdddfdddfdddfd
ddfg}x_dD]W}xN|D]F\}}}||}|f|}|f|}|j|||�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#fRs/b/c/dtptqtfs/b/c/d;pthttpthttps(swww.python.orgRRRR(swww.python.orgRRR(swww.python.orgRRRR9(swww.python.orgRRR9(swww.python.orgRRsq=abcR(swww.python.orgRsq=abcR(swww.python.orgR:RRR9(swww.python.orgR:RR9(Rs/b/c/dR;R<R=(Rs/b/c/d;pR<R=(R>R?(R"(RR7RRRR((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_http_roundtrips�s*



cCs,|jtj||�||||f�dS(N(RR
turljoin(Rtbasetrelurltexpected((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyt	checkJoin�scCsnxgdddddddgD]J}|jtjtj|��|�|jtjtj|��|�qWdS(NtPythons./Pythonsx-newscheme://foo.com/stuffsx://ysx:/ysx:/R:(RR
RRR(Rtu((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_unparse_parse�s""cCs�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtd	d
�|jtdd�|jtd
d�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtd d�|jtd!d"�|jtd#d$�|jtd%d$�|jtd&d�|jtd'd(�|jtd)d*�|jtd+d,�|jtd-d.�|jtd/d*�|jtd0d1�|jtd2d3�|jtd4d5�|jtd6d7�|jtd8d"�|jtd9d�|jtd:d;�|jtd<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(REtRFC1808_BASE(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_RFC1808�sFcCs|jtjd�d�dS(Nsmailto:1337@example.orgtmailtoRs1337@example.org(RMRs1337@example.orgRRR(RR
(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_RFC2368�scCs�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtd	d
�|jtdd�|jtd
d�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd �|jtd!d �|jtd"d�|jtd#t�|jtd$d%�|jtd&d'�|jtd(d)�|jtd*d%�|jtd+d,�|jtd-d.�|jtd/d0�|jtd1d2�|jtd3d�|jtd4d�|jtd5d6�|jtd7d8�|jtd9d:�|jtd;d<�|jtd=d>�|jtd?d@�|jtdAdB�|jtdCdD�dS(ENsg:hRIshttp://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#sRJs
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(REtRFC2396_BASE(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_RFC2396sNcCs|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtd	d
�|jtdd�|jtd
d�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtd d!�|jtd"d!�|jtd#d$�|jtd%d&�|jtd'd&�|jtd(d�|jtd)d*�|jtd+d,�|jtd-d.�|jtd/d0�|jtd1d$�|jtd2d
�|jtd3d4�|jtd5d6�|jtd7d8�|jtd9d:�|jtd;d<�|jtd=d>�|jtd?d@�|jtdAdB�|jtdCd�|jdDdd�dS(ENs?yshttp://a/b/c/d;p?ys;xshttp://a/b/c/;xsg:hRIshttp://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#sRshttp://a/b/c/d;p?qRJs
http://a/b/c/s./s..shttp://a/b/s../s../gshttp://a/b/gs../..s	http://a/s../../s../../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/../xshttp:gshttp://a/b/c/de(REtRFC3986_BASERO(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_RFC3986-sRcCs�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd	�|jtd
d�|jtdd
�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd�|jtdd �|jtd!d�|jtd"d	�|jtd#d$�|jtd%d&�|jtd'd(�|jtdd�|jtdd�|jtd)d�|jtd*d�|jtd+d�|jd,dd,�|jd-dd�|jd-d$d$�|jd.d/d0�|jd1d/d2�dS(3Nsg:hshttp:gshttp://a/b/c/gshttp:shttp://a/b/c/dRIs./gsg/shttp://a/b/c/g/s/gs
http://a/gs//gshttp://gs?yshttp://a/b/c/d?ysg?yshttp://a/b/c/g?ysg?y/./xshttp://a/b/c/g?y/./xRJs
http://a/b/c/s./s..shttp://a/b/s../s../gshttp://a/b/gs../..s	http://a/s../../gs
../../../gs
http://a/../gs./../gs./g/.s/./gshttp://a/./gsg/./hshttp://a/b/c/g/hsg/../hshttp://a/b/c/hshttp:?yshttp:g?yshttp:g?y/./xshttp:///Rssvn://pathtorepo/dir1tdir2ssvn://pathtorepo/dir2ssvn+ssh://pathtorepo/dir1ssvn+ssh://pathtorepo/dir2(REtSIMPLE_BASE(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyt
test_urljoinsgsDcCs�x�d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>gD]@\}}}tj|�}|j|j|jf||f�qOWx3d"d#d$d%d&gD]}|jttj|�q�WdS(?Ns http://Test.python.org:5432/foo/stest.python.orgi8shttp://12.34.56.78:5432/foo/s12.34.56.78shttp://[::1]:5432/foo/s::1shttp://[dead:beef::1]:5432/foo/sdead:beef::1shttp://[dead:beef::]:5432/foo/sdead:beef::s:http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]:5432/foo/s'dead:beef:cafe:5417:affe:8fa3:deaf:feeds http://[::12.34.56.78]:5432/foo/s
::12.34.56.78s%http://[::ffff:12.34.56.78]:5432/foo/s::ffff:12.34.56.78shttp://Test.python.org/foo/shttp://12.34.56.78/foo/shttp://[::1]/foo/shttp://[dead:beef::1]/foo/shttp://[dead:beef::]/foo/s5http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/shttp://[::12.34.56.78]/foo/s http://[::ffff:12.34.56.78]/foo/shttp://Test.python.org:/foo/shttp://12.34.56.78:/foo/shttp://[::1]:/foo/shttp://[dead:beef::1]:/foo/shttp://[dead:beef::]:/foo/s6http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]:/foo/shttp://[::12.34.56.78]:/foo/s!http://[::ffff:12.34.56.78]:/foo/shttp://::12.34.56.78]/shttp://[::1/foo/sftp://[::1/foo/bad]/badshttp://[::1/foo/bad]/badshttp://[::ffff:12.34.56.78(s http://Test.python.org:5432/foo/stest.python.orgi8(shttp://12.34.56.78:5432/foo/s12.34.56.78i8(shttp://[::1]:5432/foo/s::1i8(shttp://[dead:beef::1]:5432/foo/sdead:beef::1i8(shttp://[dead:beef::]:5432/foo/sdead:beef::i8(s:http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]:5432/foo/s'dead:beef:cafe:5417:affe:8fa3:deaf:feedi8(s http://[::12.34.56.78]:5432/foo/s
::12.34.56.78i8(s%http://[::ffff:12.34.56.78]:5432/foo/s::ffff:12.34.56.78i8(shttp://Test.python.org/foo/stest.python.orgN(shttp://12.34.56.78/foo/s12.34.56.78N(shttp://[::1]/foo/s::1N(shttp://[dead:beef::1]/foo/sdead:beef::1N(shttp://[dead:beef::]/foo/sdead:beef::N(s5http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/s'dead:beef:cafe:5417:affe:8fa3:deaf:feedN(shttp://[::12.34.56.78]/foo/s
::12.34.56.78N(s http://[::ffff:12.34.56.78]/foo/s::ffff:12.34.56.78N(shttp://Test.python.org:/foo/stest.python.orgN(shttp://12.34.56.78:/foo/s12.34.56.78N(shttp://[::1]:/foo/s::1N(shttp://[dead:beef::1]:/foo/sdead:beef::1N(shttp://[dead:beef::]:/foo/sdead:beef::N(s6http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]:/foo/s'dead:beef:cafe:5417:affe:8fa3:deaf:feedN(shttp://[::12.34.56.78]:/foo/s
::12.34.56.78N(s!http://[::ffff:12.34.56.78]:/foo/s::ffff:12.34.56.78N(tNoneR
RRRtassertRaisest
ValueError(RRRRt	urlparsedtinvalid_url((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_RFC2732�sP&
cCsmxfddddddddtdd
ftddfg
D].\}}}|jtj|�||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(RKRORR
t	urldefrag(RRtdefragR\((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_urldefrag�scCs�d}tj|�}|j|jd�|j|jd�|j|jd�|j|jd�|j|jd�|j|jd�|j|j
d�|j|jd�|j|jd�d}tj|�}|j|jd�|j|jd	�|j|jd�|j|jd
�|j|jd�|j|jd�|j|j
d�|j|jd�|j|jd
�|j|j
�|�d}tj|�}|j|jd�|j|jd�|j|jd�|j|jd
�|j|jd�|j|jd�|j|j
d�|j|jd�|j|jd
�|j|j
�|�d}tj|�}|j|jd�dS(NsHTTP://WWW.PYTHON.ORG/doc/#fragR>sWWW.PYTHON.ORGs/doc/RR\swww.python.orgs7http://User:Pass@www.python.org:080/doc/?query=yes#fragsUser:Pass@www.python.org:080s	query=yestUsertPassiPsChttp://User@example.com:Pass@www.python.org:080/doc/?query=yes#frags(User@example.com:Pass@www.python.org:080sUser@example.comshttp://www.python.org:65536(R
RRRR
RRRRRVRRRR(RRR;((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_urlsplit_attributes�sLcCs�tjd�}|j|jd�|j|jd�tjd�}|j|jd�|j|jd�tjd�}|j|jd�|j|jd�tjd�}|j|jd�|j|jd�dS(Nstel:+31-641044153ttels
+31-641044153stel:+31641044153s+31641044153(R
RRRR(Rtp1tp2((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_issue14072�scCs$tjd�}|j|jd�|j|jd�|j|jd�tjd�}|j|jd�|j|jd�|j|jd�tjd�}|j|jd�|j|jd	�|j|jd
�tjd�}|j|jd�|j|jd�|j|jd
�dS(Ns"tel:123-4;phone-context=+1-650-516Rcs123-4sphone-context=+1-650-516stel:+1-201-555-0123s+1-201-555-0123Rs"tel:7042;phone-context=example.comt7042sphone-context=example.coms%tel:863-1234;phone-context=+1-914-555s863-1234sphone-context=+1-914-555(R
RRRR(RRd((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_telurl_paramss csztjd��|j�jd�|jt�fd��tjd��|j�jd�|jt�fd��dS(s$Check handling of non-integer ports.shttp://www.example.net:fooswww.example.net:foocs�jS(N(R((R;(sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyt<lambda>&scs�jS(N(R((R;(sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyRi*sN(R
RRR
RWRX(R((R;sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_attributes_bad_port"scCsd}tj|�}|j|jd�|j|jd�|j|jd�|j|jd�|j|jd�|j|j	�|�tj|�}|j|jd�|j|jd�|j|jd�|j|jd�|j|jd�|j|j	�|�dS(Ns0sip:alice@atlanta.com;maddr=239.255.255.1;ttl=15R(
R
RRR
RRVRRRR(RturiR;((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_attributes_without_netloc,scCs�d}t|�}tj|�tj|�}|jt|j�t|��|jt|j�t|��|jt|j�t|��dS(Nshttp://example.com/doc/(tunicodeR
RttypeRRR(RRktunicode_uriR;((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_cachingCs
cCs|jtjd�d�dS(Ns http://example.com?blahblah=/fooR>sexample.comRs
blahblah=/foo(shttpsexample.comRRs
blahblah=/fooR(RR
(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_noslashNscCsh|jtjd�d�|jtjd�d
�|jtjd�d�|jtjd�d�dS(Nss3://foo.com/stuffts3sfoo.coms/stuffRsx-newscheme://foo.com/stuffsx-newschemes*x-newscheme://foo.com/stuff?query#fragmentRRs!x-newscheme://foo.com/stuff?query(Rrsfoo.coms/stuffRRR(sx-newschemesfoo.coms/stuffRRR(sx-newschemesfoo.coms/stuffRsquerysfragment(sx-newschemesfoo.coms/stuffRsqueryR(RR
(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_anyschemeSscCsO|jtjd�d�|jtjd�d�|jtjd�d	�dS(
NRRs//www.python.org:80swww.python.org:80shttp://www.python.org:80R>(RRspathRRR(Rswww.python.org:80RRRR(shttpswww.python.org:80RRRR(RR
(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_withoutscheme^scCsh|jtjd�d	�|jtjd�d
�|jtjd�d�|jtjd�d�dS(
Nspath:80Rshttp:R>shttps:R?shttp://www.python.org:80swww.python.org:80(RRspath:80RRR(shttpRRRRR(shttpsRRRRR(shttpswww.python.org:80RRRR(RR
(R((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyttest_portseparatorjs(t__name__t
__module__R"R-R1R8R@RERHRLRNRPRRRUR[R_RbRfRhRjRlRpRqRsRtRu(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyR	Fs0	3			
					-		*	:	$	,		3			
					cCstjt�dS(N(Rtrun_unittestR	(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyt	test_mainsst__main__(ttestRtunittestR
RKRORQRTR$R.tTestCaseR	RyRv(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_urlparse.pyt<module>s~							!										��/