Home
last modified time | relevance | path

Searched refs:URLError (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urllib2net.py32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError)
123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError),
196 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError)
213 except urllib2.URLError as err:
Dtest_urllib2.py342 raise urllib2.URLError("blah")
457 from urllib2 import URLError
467 self.assertRaises(URLError, o.open, scheme+"://example.com/")
523 self.assertRaises(urllib2.URLError, o.open, req)
720 self.assertRaises(urllib2.URLError,
746 except (urllib2.URLError, OSError):
785 self.assertRaises(urllib2.URLError, h.do_open, http, req)
Dtest_urllib2_localnet.py287 except urllib2.URLError:
387 except urllib2.URLError, f:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Durllib2.py136 class URLError(IOError): class
149 class HTTPError(URLError, addinfourl):
1026 raise URLError("qop '%s' is not supported." % qop)
1100 raise URLError('no host given')
1138 raise URLError('no host given')
1174 raise URLError(err)
1232 raise URLError('unknown url type: %s' % type)
1342 raise URLError(msg)
1343 raise URLError('file not on local host')
1351 raise URLError('ftp error: no host given')
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dregister.py297 except urllib2.URLError, e: