summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urlparse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-04-12 06:56:24 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-04-12 06:56:24 (GMT)
commit2ffceb67abd3067728b84e1c1bdd0a212c229b59 (patch)
tree2a986506c8de601077fa73ead3138f6ac0ad670c /Lib/test/test_urlparse.py
parent1b5a29313d1b027d65f4b9482db8280c3c89d759 (diff)
downloadcpython-2ffceb67abd3067728b84e1c1bdd0a212c229b59.zip
cpython-2ffceb67abd3067728b84e1c1bdd0a212c229b59.tar.gz
cpython-2ffceb67abd3067728b84e1c1bdd0a212c229b59.tar.bz2
Merged revisions 79988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79988 | senthil.kumaran | 2010-04-12 12:20:24 +0530 (Mon, 12 Apr 2010) | 3 lines Adding additional examples of valid urls as per RFC 3986 (for issue8339) ........
Diffstat (limited to 'Lib/test/test_urlparse.py')
-rw-r--r--Lib/test/test_urlparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index 0f306a9..7905161 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -138,7 +138,7 @@ class UrlParseTestCase(unittest.TestCase):
(base, relurl, expected))
def test_unparse_parse(self):
- for u in ['Python', './Python','x-newscheme://foo.com/stuff']:
+ for u in ['Python', './Python','x-newscheme://foo.com/stuff','x://y','x:/y','x:/','/',]:
self.assertEqual(urlparse.urlunsplit(urlparse.urlsplit(u)), u)
self.assertEqual(urlparse.urlunparse(urlparse.urlparse(u)), u)