mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
* add mms (windows media) as another scheme
* reformat schemes to 80 columns
This commit is contained in:
parent
ef893fe452
commit
f09b88ee2f
2 changed files with 18 additions and 19 deletions
|
@ -28,6 +28,9 @@ class UrlParseTestCase(unittest.TestCase):
|
|||
('imap://mail.python.org/mbox1',
|
||||
('imap', 'mail.python.org', '/mbox1', '', '', ''),
|
||||
('imap', 'mail.python.org', '/mbox1', '', '')),
|
||||
('mms://wms.sys.hinet.net/cts/Drama/09006251100.asf',
|
||||
('mms', 'wms.sys.hinet.net', '/cts/Drama/09006251100.asf', '', '', ''),
|
||||
('mms', 'wms.sys.hinet.net', '/cts/Drama/09006251100.asf', '', '')),
|
||||
]:
|
||||
result = urlparse.urlparse(url)
|
||||
self.assertEqual(result, parsed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue