diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 7b064caf7d1..c1939b5d3a7 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -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)