From a688f026dc9051a61f9ba6ffd6a9457640ce6374 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 15 Oct 2011 12:37:08 -0400 Subject: [PATCH] settings are being deprecated --- test_requests.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test_requests.py b/test_requests.py index 1dff610..457ec8a 100755 --- 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: -- 2.34.1