Skip to content
Myr

settings are being deprecated

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 60917e0 · Browse files · 1 file+0 added−13 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−13 removed

  • other:+0 added−13 removed

1 file+0 added−13 removed

modified:test_requests.py-13 removed
259 unmodified lines
260 r = requests.get(service('basic-auth', 'user', 'pass'), auth=http_auth)261 self.assertEquals(r.status_code, 401)262263264 def test_settings(self):265266 def test():267 r = requests.get(httpbin(''))268 r.raise_for_status()269270 with requests.settings(timeout=0.0000000001):271 self.assertRaises(requests.Timeout, test)272273 with requests.settings(timeout=100):274 requests.get(httpbin(''))275276264 def test_urlencoded_post_data(self):265266 for service in SERVICES:267
200 unmodified lines