Issue #25940: Merge ETIMEDOUT fix from 3.4 into 3.5

This commit is contained in:
Martin Panter 2016-01-15 02:28:59 +00:00
commit a8b43b5fc3
1 changed files with 1 additions and 1 deletions

View File

@ -1440,7 +1440,7 @@ class NetworkedTests(unittest.TestCase):
# 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)