[Python-checkins] r87863 - python/branches/py3k/Lib/test/support.py

antoine.pitrou python-checkins at python.org
Sat Jan 8 11:28:12 CET 2011


Author: antoine.pitrou
Date: Sat Jan  8 11:28:11 2011
New Revision: 87863

Log:
Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().



Modified:
   python/branches/py3k/Lib/test/support.py

Modified: python/branches/py3k/Lib/test/support.py
==============================================================================
--- python/branches/py3k/Lib/test/support.py	(original)
+++ python/branches/py3k/Lib/test/support.py	Sat Jan  8 11:28:11 2011
@@ -800,6 +800,7 @@
     default_errnos = [
         ('ECONNREFUSED', 111),
         ('ECONNRESET', 104),
+        ('EHOSTUNREACH', 113),
         ('ENETUNREACH', 101),
         ('ETIMEDOUT', 110),
     ]


More information about the Python-checkins mailing list