mirror of
https://github.com/python/cpython.git
synced 2025-09-30 04:15:43 +00:00
Issue #25940: Merge ETIMEDOUT fix from 3.5
This commit is contained in:
commit
4edc0e8407
1 changed files with 1 additions and 1 deletions
|
@ -1440,7 +1440,7 @@ class NetworkedTests(unittest.TestCase):
|
||||||
# Issue #19919: Windows machines or VMs hosted on Windows
|
# Issue #19919: Windows machines or VMs hosted on Windows
|
||||||
# machines sometimes return EWOULDBLOCK.
|
# machines sometimes return EWOULDBLOCK.
|
||||||
errors = (
|
errors = (
|
||||||
errno.ECONNREFUSED, errno.EHOSTUNREACH,
|
errno.ECONNREFUSED, errno.EHOSTUNREACH, errno.ETIMEDOUT,
|
||||||
errno.EWOULDBLOCK,
|
errno.EWOULDBLOCK,
|
||||||
)
|
)
|
||||||
self.assertIn(rc, errors)
|
self.assertIn(rc, errors)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue