[Python-checkins] cpython (merge 3.5 -> default): Issue #25940: Merge ETIMEDOUT fix from 3.5

martin.panter python-checkins at python.org
Thu Jan 14 21:46:47 EST 2016


https://hg.python.org/cpython/rev/32a4e7b337c9
changeset:   99901:32a4e7b337c9
parent:      99895:ac94418299bd
parent:      99900:bd9d5bc8bc95
user:        Martin Panter <vadmium+py at gmail.com>
date:        Fri Jan 15 02:37:21 2016 +0000
summary:
  Issue #25940: Merge ETIMEDOUT fix from 3.5

files:
  Lib/test/test_ssl.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -1440,7 +1440,7 @@
                 # Issue #19919: Windows machines or VMs hosted on Windows
                 # machines sometimes return EWOULDBLOCK.
                 errors = (
-                    errno.ECONNREFUSED, errno.EHOSTUNREACH,
+                    errno.ECONNREFUSED, errno.EHOSTUNREACH, errno.ETIMEDOUT,
                     errno.EWOULDBLOCK,
                 )
                 self.assertIn(rc, errors)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list