diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-08 10:31:09 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-08 10:31:09 (GMT) |
commit | 50778ab4c25f99c8fefeb67bc927bcb3356590cd (patch) | |
tree | 32e0b7de8ab20aa2c34eddb54b24b64084aeff5c /Lib/test/support.py | |
parent | 6d6fa47fb066ea314b8e5fd8bbcfb6dfaaac66ab (diff) | |
download | cpython-50778ab4c25f99c8fefeb67bc927bcb3356590cd.zip cpython-50778ab4c25f99c8fefeb67bc927bcb3356590cd.tar.gz cpython-50778ab4c25f99c8fefeb67bc927bcb3356590cd.tar.bz2 |
Merged revisions 87861,87863 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87861 | antoine.pitrou | 2011-01-08 11:23:29 +0100 (sam., 08 janv. 2011) | 3 lines
Fix test_ssl after r87849
........
r87863 | antoine.pitrou | 2011-01-08 11:28:11 +0100 (sam., 08 janv. 2011) | 3 lines
Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().
........
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 3353053..5dd8017 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -623,6 +623,7 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()): default_errnos = [ ('ECONNREFUSED', 111), ('ECONNRESET', 104), + ('EHOSTUNREACH', 113), ('ENETUNREACH', 101), ('ETIMEDOUT', 110), ] |