SF feature #618024, urlparse fails on imap://
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index 7d7f458..a9d55d3 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -25,6 +25,9 @@
('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)