projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42877fe
)
TIMEOUT value change in URLTimeout Test. test.support.transient_internet has a
author
Senthil Kumaran
<orsenthil@gmail.com>
Wed, 15 Dec 2010 04:02:45 +0000
(
04:02
+0000)
committer
Senthil Kumaran
<orsenthil@gmail.com>
Wed, 15 Dec 2010 04:02:45 +0000
(
04:02
+0000)
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.
Lib/test/test_urllibnet.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_urllibnet.py
b/Lib/test/test_urllibnet.py
index 1d50207fd3930aaec07673744720effdf1090056..c8851031e894b30f316cbfccd317a92ba13b402c 100644
(file)
--- a/
Lib/test/test_urllibnet.py
+++ b/
Lib/test/test_urllibnet.py
@@
-13,7
+13,7
@@
import time
class URLTimeoutTest(unittest.TestCase):
- TIMEOUT =
1
0.0
+ TIMEOUT =
3
0.0
def setUp(self):
socket.setdefaulttimeout(self.TIMEOUT)