mirror of https://github.com/python/cpython
Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4
This commit is contained in:
commit
3f2240ccb6
|
@ -1267,7 +1267,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)
|
||||
|
|
Loading…
Reference in New Issue