Searched defs:URLError (Results 1 - 8 of 8) sorted by relevance

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_urllib2.py347 raise urllib2.URLError("blah")
462 from urllib2 import URLError namespace
472 self.assertRaises(URLError, o.open, scheme+"://example.com/")
519 # raising URLError stops processing of request
528 self.assertRaises(urllib2.URLError, o.open, req)
726 self.assertRaises(urllib2.URLError,
743 # XXXX bug: fails with OSError, should be URLError
752 except (urllib2.URLError, OSError):
789 # check socket.error converted to URLError
791 self.assertRaises(urllib2.URLError,
[all...]
/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Durllib2.py20 a Request instance instead of URL. Raises a URLError (subclass of
44 URLError -- A subclass of IOError, individual protocols have their own
137 class URLError(IOError): class in inherits:IOError
138 # URLError is a sub-type of IOError, but it doesn't share any of
150 class HTTPError(URLError, addinfourl):
170 # since URLError specifies a .reason attribute, HTTPError should also
1039 raise URLError("qop '%s' is not supported." % qop)
1113 raise URLError('no host given')
1151 raise URLError('no host given')
1184 raise URLError(er
[all...]
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_urllib2.py347 raise urllib2.URLError("blah")
462 from urllib2 import URLError namespace
472 self.assertRaises(URLError, o.open, scheme+"://example.com/")
519 # raising URLError stops processing of request
528 self.assertRaises(urllib2.URLError, o.open, req)
726 self.assertRaises(urllib2.URLError,
743 # XXXX bug: fails with OSError, should be URLError
752 except (urllib2.URLError, OSError):
789 # check socket.error converted to URLError
791 self.assertRaises(urllib2.URLError,
[all...]
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Durllib2.py20 a Request instance instead of URL. Raises a URLError (subclass of
44 URLError -- A subclass of IOError, individual protocols have their own
137 class URLError(IOError): class in inherits:IOError
138 # URLError is a sub-type of IOError, but it doesn't share any of
150 class HTTPError(URLError, addinfourl):
170 # since URLError specifies a .reason attribute, HTTPError should also
1039 raise URLError("qop '%s' is not supported." % qop)
1113 raise URLError('no host given')
1151 raise URLError('no host given')
1184 raise URLError(er
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_urllib2.py347 raise urllib2.URLError("blah")
462 from urllib2 import URLError namespace
472 self.assertRaises(URLError, o.open, scheme+"://example.com/")
519 # raising URLError stops processing of request
528 self.assertRaises(urllib2.URLError, o.open, req)
726 self.assertRaises(urllib2.URLError,
743 # XXXX bug: fails with OSError, should be URLError
752 except (urllib2.URLError, OSError):
789 # check socket.error converted to URLError
791 self.assertRaises(urllib2.URLError,
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Durllib2.py20 a Request instance instead of URL. Raises a URLError (subclass of
44 URLError -- A subclass of IOError, individual protocols have their own
137 class URLError(IOError): class in inherits:IOError
138 # URLError is a sub-type of IOError, but it doesn't share any of
150 class HTTPError(URLError, addinfourl):
170 # since URLError specifies a .reason attribute, HTTPError should also
1039 raise URLError("qop '%s' is not supported." % qop)
1113 raise URLError('no host given')
1151 raise URLError('no host given')
1184 raise URLError(er
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_urllib2.py347 raise urllib2.URLError("blah")
462 from urllib2 import URLError namespace
472 self.assertRaises(URLError, o.open, scheme+"://example.com/")
519 # raising URLError stops processing of request
528 self.assertRaises(urllib2.URLError, o.open, req)
726 self.assertRaises(urllib2.URLError,
743 # XXXX bug: fails with OSError, should be URLError
752 except (urllib2.URLError, OSError):
789 # check socket.error converted to URLError
791 self.assertRaises(urllib2.URLError,
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Durllib2.py20 a Request instance instead of URL. Raises a URLError (subclass of
44 URLError -- A subclass of IOError, individual protocols have their own
137 class URLError(IOError): class in inherits:IOError
138 # URLError is a sub-type of IOError, but it doesn't share any of
150 class HTTPError(URLError, addinfourl):
170 # since URLError specifies a .reason attribute, HTTPError should also
1039 raise URLError("qop '%s' is not supported." % qop)
1113 raise URLError('no host given')
1151 raise URLError('no host given')
1184 raise URLError(er
[all...]

Completed in 161 milliseconds