summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-01-06 06:58:31 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-01-06 06:58:31 (GMT)
commit68b539ef9c9f7b4d038185669d486af35ba7ba02 (patch)
treec68087601cd8b79327716d9e5fb450396de8cea5 /Lib
parent4f442372ccaea501edcce67cd16028023af0d2e2 (diff)
downloadcpython-68b539ef9c9f7b4d038185669d486af35ba7ba02.zip
cpython-68b539ef9c9f7b4d038185669d486af35ba7ba02.tar.gz
cpython-68b539ef9c9f7b4d038185669d486af35ba7ba02.tar.bz2
SF feature #618024, urlparse fails on imap://
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_urlparse.py3
1 files changed, 3 insertions, 0 deletions
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 @@ 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)