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)