mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
|
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
|
||
|
index d6c83a75c1c..19ed4e01091 100644
|
||
|
--- a/Lib/test/test_urlparse.py
|
||
|
+++ b/Lib/test/test_urlparse.py
|
||
|
@@ -237,11 +237,6 @@ def test_roundtrips(self):
|
||
|
'','',''),
|
||
|
('git+ssh', 'git@github.com','/user/project.git',
|
||
|
'', '')),
|
||
|
- ('itms-services://?action=download-manifest&url=https://example.com/app',
|
||
|
- ('itms-services', '', '', '',
|
||
|
- 'action=download-manifest&url=https://example.com/app', ''),
|
||
|
- ('itms-services', '', '',
|
||
|
- 'action=download-manifest&url=https://example.com/app', '')),
|
||
|
('+scheme:path/to/file',
|
||
|
('', '', '+scheme:path/to/file', '', '', ''),
|
||
|
('', '', '+scheme:path/to/file', '', '')),
|
||
|
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
|
||
|
index 8f724f907d4..148caf742c9 100644
|
||
|
--- a/Lib/urllib/parse.py
|
||
|
+++ b/Lib/urllib/parse.py
|
||
|
@@ -59,7 +59,7 @@
|
||
|
'imap', 'wais', 'file', 'mms', 'https', 'shttp',
|
||
|
'snews', 'prospero', 'rtsp', 'rtsps', 'rtspu', 'rsync',
|
||
|
'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh',
|
||
|
- 'ws', 'wss', 'itms-services']
|
||
|
+ 'ws', 'wss']
|
||
|
|
||
|
uses_params = ['', 'ftp', 'hdl', 'prospero', 'http', 'imap',
|
||
|
'https', 'shttp', 'rtsp', 'rtsps', 'rtspu', 'sip',
|