summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-04-12 07:06:04 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-04-12 07:06:04 (GMT)
commit8be2211e29c54e343770eb7e4d2be615566f8fc7 (patch)
treed390c1a45a40f75a8cb6a04d2cb9724e0042b792
parent53203f1eca0997ac5c07e4159182f3d1b36a4a1d (diff)
downloadcpython-8be2211e29c54e343770eb7e4d2be615566f8fc7.zip
cpython-8be2211e29c54e343770eb7e4d2be615566f8fc7.tar.gz
cpython-8be2211e29c54e343770eb7e4d2be615566f8fc7.tar.bz2
Merged revisions 79990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r79990 | senthil.kumaran | 2010-04-12 12:33:17 +0530 (Mon, 12 Apr 2010) | 9 lines 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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index 1658411..1cac691 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)