summaryrefslogtreecommitdiff
path: root/Lib/test/test_timeout.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-08-06 04:30:46 +0000
committerBrett Cannon <bcannon@gmail.com>2004-08-06 04:30:46 +0000
commit3ed765c590dd037f16d4fb989e9e3ea63053f4c2 (patch)
tree50db70f8ab6f6f147d168c05871c027e79da9773 /Lib/test/test_timeout.py
parent7f84855af5ce737694d29b85333976ff1428a994 (diff)
downloadcpython-3ed765c590dd037f16d4fb989e9e3ea63053f4c2.tar.gz
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.
Diffstat (limited to 'Lib/test/test_timeout.py')
-rw-r--r--Lib/test/test_timeout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py
index de6aec453d..69705593cb 100644
--- a/Lib/test/test_timeout.py
+++ b/Lib/test/test_timeout.py
@@ -100,7 +100,7 @@ class TimeoutTestCase(unittest.TestCase):
def setUp(self):
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- self.addr_remote = ('www.google.com', 80)
+ self.addr_remote = ('www.python.org', 80)
self.addr_local = ('127.0.0.1', 25339)
def tearDown(self):