diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-12 13:28:16 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-12 13:28:16 (GMT) |
commit | 4746080921e079d12dc2f9a637908722c8d5decd (patch) | |
tree | a4a29c4b2b1607e1a80770be27f3035cc83dfbd9 /Lib/test/support | |
parent | 8918b89e61a8417f36848d332fa7af5776c7d688 (diff) | |
parent | c74cdc71705f7d936dfd51b68c26a6eadc2367d1 (diff) | |
download | cpython-4746080921e079d12dc2f9a637908722c8d5decd.zip cpython-4746080921e079d12dc2f9a637908722c8d5decd.tar.gz cpython-4746080921e079d12dc2f9a637908722c8d5decd.tar.bz2 |
Issue #27289: Merge from 3.5
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 04e8629..86ff734 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -1351,7 +1351,8 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()): 500 <= err.code <= 599) or (isinstance(err, urllib.error.URLError) and (("ConnectionRefusedError" in err.reason) or - ("TimeoutError" in err.reason))) or + ("TimeoutError" in err.reason) or + ("EOFError" in err.reason))) or n in captured_errnos): if not verbose: sys.stderr.write(denied.args[0] + "\n") |