SF feature #618024, urlparse fails on imap://
This commit is contained in:
parent
4f442372cc
commit
68b539ef9c
|
@ -25,6 +25,9 @@ class UrlParseTestCase(unittest.TestCase):
|
|||
('file:///tmp/junk.txt',
|
||||
('file', '', '/tmp/junk.txt', '', '', ''),
|
||||
('file', '', '/tmp/junk.txt', '', '')),
|
||||
('imap://mail.python.org/mbox1',
|
||||
('imap', 'mail.python.org', '/mbox1', '', '', ''),
|
||||
('imap', 'mail.python.org', '/mbox1', '', '')),
|
||||
]:
|
||||
result = urlparse.urlparse(url)
|
||||
self.assertEqual(result, parsed)
|
||||
|
|
Loading…
Reference in New Issue