summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllibnet.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-12-15 04:02:45 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-12-15 04:02:45 +0000
commita616a82f9b292869486520aab2cee3f9d7b322a4 (patch)
treedb85b2935894d4b7ee772c9a50eaa55ab117b8bb /Lib/test/test_urllibnet.py
parent2f567d52a9a221b4df75ff8818eab28634362da8 (diff)
downloadcpython-a616a82f9b292869486520aab2cee3f9d7b322a4.tar.gz
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.
Diffstat (limited to 'Lib/test/test_urllibnet.py')
-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 1d50207fd3..c8851031e8 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)