summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-12-15 04:02:45 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-12-15 04:02:45 (GMT)
commitbd8f1458f8c81ee7d9ff4748fa53eec1f096f7b6 (patch)
tree054c7ebebfbe8d793f13274db889fd1fa0108df2
parent42877fec3a690b2680df079a7f5a3bc45c05e56c (diff)
downloadcpython-bd8f1458f8c81ee7d9ff4748fa53eec1f096f7b6.zip
cpython-bd8f1458f8c81ee7d9ff4748fa53eec1f096f7b6.tar.gz
cpython-bd8f1458f8c81ee7d9ff4748fa53eec1f096f7b6.tar.bz2
TIMEOUT value change in URLTimeout Test. test.support.transient_internet has a
socket timeout of 30 when it checks for resource. Explicit overrding (like setting the 10) wont exhibit consistent behavior when tests are outside context manager. So, settting it 30.
-rw-r--r--Lib/test/test_urllibnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
index 1d50207..c885103 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -13,7 +13,7 @@ import time
class URLTimeoutTest(unittest.TestCase):
- TIMEOUT = 10.0
+ TIMEOUT = 30.0
def setUp(self):
socket.setdefaulttimeout(self.TIMEOUT)