From 5d938cb36689321d7a72e4711f66969809dcc8b0 Mon Sep 17 00:00:00 2001
From: Antoine Pitrou <solipsis@pitrou.net>
Date: Sat, 8 Jan 2011 10:28:11 +0000
Subject: Add EHOSTUNREACH ('No route to host') to the errnos trapped by
 transient_internet().

---
 Lib/test/support.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Lib/test/support.py b/Lib/test/support.py
index fb15d64..152cac9 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -800,6 +800,7 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
     default_errnos = [
         ('ECONNREFUSED', 111),
         ('ECONNRESET', 104),
+        ('EHOSTUNREACH', 113),
         ('ENETUNREACH', 101),
         ('ETIMEDOUT', 110),
     ]
-- 
cgit v0.12