[Python-checkins] r79989 - in python/branches/release26-maint: Lib/test/test_urlparse.py

senthil.kumaran python-checkins at python.org
Mon Apr 12 08:56:24 CEST 2010


Author: senthil.kumaran
Date: Mon Apr 12 08:56:24 2010
New Revision: 79989

Log:
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)
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/test/test_urlparse.py

Modified: python/branches/release26-maint/Lib/test/test_urlparse.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_urlparse.py	(original)
+++ python/branches/release26-maint/Lib/test/test_urlparse.py	Mon Apr 12 08:56:24 2010
@@ -138,7 +138,7 @@
                          (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)
 


More information about the Python-checkins mailing list