Lines Matching refs:timeout
584 # Issue #8524: when creating an SSL socket, the timeout of the
586 for timeout in (None, 0.0, 5.0):
588 s.settimeout(timeout)
590 self.assertEqual(timeout, ss.gettimeout())
2233 with self.assertRaises(socket.timeout):
2235 timeout=0.1)
2281 timeout = kwargs.get('timeout', support.SHORT_TIMEOUT)
2282 deadline = time.monotonic() + timeout
2286 self.fail("timeout")
2385 # Issue #12065: on a timeout, connect_ex() should return the original
2695 sys.stdout.write(f' connection timeout {e!r}\n')
3795 # Issue #5103: SSL handshake must respect the socket timeout
4374 self.assertGreater(session.timeout, 0)
4394 self.assertGreaterEqual(session2.timeout, session.timeout)
4415 self.assertGreaterEqual(session4.timeout, session.timeout)
5098 timeout=2.0,