diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-04-12 06:50:24 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-04-12 06:50:24 +0000 |
commit | d10b65eb687575966f28d1f5f82a3642568aa82a (patch) | |
tree | 1ae0bf23c6d276386876b97170eec527f19aa6f2 | |
parent | 5a96543b367ab520033f47df34611c6dfdcfb1ab (diff) | |
download | cpython-git-d10b65eb687575966f28d1f5f82a3642568aa82a.tar.gz |
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 554328b7d9..92d19fbe8d 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -141,7 +141,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) |