Skip to content
Myr

timeout adjustment

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 f0bcdd0 · Browse files · 1 file+1 added−4 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+1 added−4 removed

  • other:+1 added−4 removed

1 file+1 added−4 removed

modified:test_requests.py+1 added-4 removed
122 unmodified lines
123124125 def test_HTTP_200_OK_PATCH(self):126 r = requests.patch(httpbin('patch'))127 print r.__dict__128 print r.content129 print r.url127 self.assertEqual(r.status_code, 200)128129130 def test_AUTH_HTTP_200_OK_GET(self):
135 unmodified lines
266 def test():267 r = requests.get(httpbin(''))268 r.raise_for_status()269273 with requests.settings(timeout=0.0000001):270 with requests.settings(timeout=0.0000000001):271 self.assertRaises(requests.Timeout, test)272273 with requests.settings(timeout=100):274 requests.get(httpbin(''))
206 unmodified lines