projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60917e0
)
settings are being deprecated
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 15 Oct 2011 16:37:08 +0000
(12:37 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 15 Oct 2011 16:37:08 +0000
(12:37 -0400)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index 1dff610dfd88a89fd5a0dfc6381f3f2ffb89d563..457ec8aaf75b32d1178b952aa787c7457eeb418c 100755
(executable)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-261,19
+261,6
@@
class RequestsTestSuite(unittest.TestCase):
self.assertEquals(r.status_code, 401)
- def test_settings(self):
-
- def test():
- r = requests.get(httpbin(''))
- r.raise_for_status()
-
- with requests.settings(timeout=0.0000000001):
- self.assertRaises(requests.Timeout, test)
-
- with requests.settings(timeout=100):
- requests.get(httpbin(''))
-
-
def test_urlencoded_post_data(self):
for service in SERVICES: