read this discussion http://bugs.python.org/issue18828
From urllib.parse:
uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 'wais', 'file', 'https', 'shttp', 'mms', 'prospero', 'rtsp', 'rtspu', '', 'sftp', 'svn', 'svn+ssh']
too append the barttp as an valid schema, we should append it to parse.uses_relative, since keystone is out of the scope and it is no reason to hack source code for test code which just add an uncommon schema, I think we should modify our test code
read this discussion http:// bugs.python. org/issue18828
From urllib.parse:
uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
'wais', 'file', 'https', 'shttp', 'mms',
'prospero' , 'rtsp', 'rtspu', '', 'sftp',
'svn', 'svn+ssh']
too append the barttp as an valid schema, we should append it to parse.uses_ relative, since keystone is out of the scope and it is no reason to hack source code for test code which just add an uncommon schema, I think we should modify our test code