From 7770f145b7f8f866d08c2ed8fafb2361fa5d2f59 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 12 Apr 2010 07:03:17 +0000 Subject: [PATCH] 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) ........ --- Lib/test/test_urlparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index ca4eaa52147..bcfc2435cc1 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -142,7 +142,7 @@ def checkJoin(self, base, relurl, expected): (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)