Skip to content
2 changes: 2 additions & 0 deletions Lib/test/support/socket_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ def get_socket_conn_refused_errs():
errors.append(errno.EHOSTUNREACH)
if not IPV6_ENABLED:
errors.append(errno.EAFNOSUPPORT)
if hasattr(errno, 'ETIMEDOUT'):
errors.append(errno.ETIMEDOUT)
return errors


Expand Down
Loading