summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-08-06 04:30:46 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-08-06 04:30:46 (GMT)
commitd09d9664e6a0cde5e0c7a0234ef837e11df757f1 (patch)
treefe130442e985ec814a00657e6e06028afe3c0d8a /Lib
parent3f5c654deb15917b5868c8611894b1f962e7a005 (diff)
downloadcpython-d09d9664e6a0cde5e0c7a0234ef837e11df757f1.zip
cpython-d09d9664e6a0cde5e0c7a0234ef837e11df757f1.tar.gz
cpython-d09d9664e6a0cde5e0c7a0234ef837e11df757f1.tar.bz2
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')
-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 de6aec4..6970559 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):