From 68b539ef9c9f7b4d038185669d486af35ba7ba02 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 6 Jan 2003 06:58:31 +0000 Subject: [PATCH] SF feature #618024, urlparse fails on imap:// --- Lib/test/test_urlparse.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index 7d7f4588f6..a9d55d3737 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -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) -- 2.50.1