diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-04-12 07:03:17 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-04-12 07:03:17 (GMT) |
commit | 7770f145b7f8f866d08c2ed8fafb2361fa5d2f59 (patch) | |
tree | c95ab7d8d54c5375e046b07e623c3eca2706ba77 | |
parent | e09b6238d5b8ee184d258d7cb56713e889096d84 (diff) | |
download | cpython-7770f145b7f8f866d08c2ed8fafb2361fa5d2f59.zip cpython-7770f145b7f8f866d08c2ed8fafb2361fa5d2f59.tar.gz cpython-7770f145b7f8f866d08c2ed8fafb2361fa5d2f59.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)
........
-rw-r--r-- | Lib/test/test_urlparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index ca4eaa5..bcfc243 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -142,7 +142,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(urllib.parse.urlunsplit(urllib.parse.urlsplit(u)), u) self.assertEqual(urllib.parse.urlunparse(urllib.parse.urlparse(u)), u) |