cpython: b86f3af4746c (original) (raw)

Mercurial > cpython

changeset 78691:b86f3af4746c

Issue #15285: Refactor connect timeout test in test_timeout. [#15285]

Trent Nelson trent@trent.me
date Mon, 20 Aug 2012 21:40:21 -0400
parents f8eabfed9a1d(current diff)9c22222af1f9(diff)
children 221a640475f7
files Misc/NEWS
diffstat 2 files changed, 86 insertions(+), 8 deletions(-)[+] [-] Lib/test/test_timeout.py 90 Misc/NEWS 4

line wrap: on

line diff

--- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -138,14 +138,88 @@ class TCPTimeoutTestCase(TimeoutTestCase self.sock.close() def testConnectTimeout(self):

+

+

+

+

+

+

+

def testRecvTimeout(self): # Test recv() timeout

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -86,6 +86,10 @@ Documentation Tests ----- +- Issue #15285: Refactor the approach for testing connect timeouts using