[Python-checkins] cpython (3.2): Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
martin.panter
python-checkins at python.org
Thu Jan 14 21:46:47 EST 2016
https://hg.python.org/cpython/rev/b2036b717028
changeset: 99897:b2036b717028
branch: 3.2
parent: 99888:adf750b1252d
user: Martin Panter <vadmium+py at gmail.com>
date: Fri Jan 15 01:16:41 2016 +0000
summary:
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
files:
Lib/test/test_ssl.py | 4 +++-
1 files changed, 3 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
@@ -608,7 +608,9 @@
ca_certs=REMOTE_ROOT_CERT)
try:
rc = s.connect_ex((REMOTE_HOST, 444))
- self.assertIn(rc, (errno.ECONNREFUSED, errno.EHOSTUNREACH))
+ errors = (
+ errno.ECONNREFUSED, errno.EHOSTUNREACH, errno.ETIMEDOUT)
+ self.assertIn(rc, errors)
finally:
s.close()
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list