[Python-checkins] python/dist/src/Lib/test test_timeout.py, 1.15,
1.16
bcannon at users.sourceforge.net
bcannon at users.sourceforge.net
Fri Aug 6 06:30:49 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18522/Lib/test
Modified Files:
test_timeout.py
Log Message:
Changes the remote address used for tests in TimeoutTestCase from google.com to
python.org . This way the delay should be great enough for
testConnectTimeout() to pass even when one has a really fast Net connection
that allows connections faster than .001 seconds.
Index: test_timeout.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_timeout.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** test_timeout.py 11 Jun 2004 15:57:49 -0000 1.15
--- test_timeout.py 6 Aug 2004 04:30:46 -0000 1.16
***************
*** 101,105 ****
def setUp(self):
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
! self.addr_remote = ('www.google.com', 80)
self.addr_local = ('127.0.0.1', 25339)
--- 101,105 ----
def setUp(self):
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
! self.addr_remote = ('www.python.org', 80)
self.addr_local = ('127.0.0.1', 25339)
More information about the Python-checkins
mailing list