Debian Codegraph @

Mac/Resources/app-store-compliance.patch

raw
1 diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
2 index d6c83a75c1c..19ed4e01091 100644
3 --- a/Lib/test/test_urlparse.py
4 +++ b/Lib/test/test_urlparse.py
5 @@ -237,11 +237,6 @@ def test_roundtrips(self):
6 '','',''),
7 ('git+ssh', '[email protected]','/user/project.git',
8 '', '')),
9 - ('itms-services://?action=download-manifest&url=https://example.com/app',
10 - ('itms-services', '', '', '',
11 - 'action=download-manifest&url=https://example.com/app', ''),
12 - ('itms-services', '', '',
13 - 'action=download-manifest&url=https://example.com/app', '')),
14 ('+scheme:path/to/file',
15 ('', '', '+scheme:path/to/file', '', '', ''),
16 ('', '', '+scheme:path/to/file', '', '')),
17 diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
18 index 8f724f907d4..148caf742c9 100644
19 --- a/Lib/urllib/parse.py
20 +++ b/Lib/urllib/parse.py
21 @@ -59,7 +59,7 @@
22 'imap', 'wais', 'file', 'mms', 'https', 'shttp',
23 'snews', 'prospero', 'rtsp', 'rtsps', 'rtspu', 'rsync',
24 'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh',
25 - 'ws', 'wss', 'itms-services']
26 + 'ws', 'wss']
27
28 uses_params = ['', 'ftp', 'hdl', 'prospero', 'http', 'imap',
29 'https', 'shttp', 'rtsp', 'rtsps', 'rtspu', 'sip',