Skip to content
Myr

Uncommented test in test_requests.py

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

Uncommented test_sesion_pickling in test_requests.py and ran the file to make sure the test passes.

authored by ContinuousFunction · committed by ContinuousFunction · parent 39090cf · Browse files · 1 file+9 added−9 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+9 added−9 removed

  • other:+9 added−9 removed

1 file+9 added−9 removed

modified:test_requests.py+9 added-9 removed
823 unmodified lines
824 error = requests.exceptions.HTTPError('message', response=response)825 assert str(error) == 'message'826 assert error.response == response827828## def test_session_pickling(self):829## r = requests.Request('GET', httpbin('get'))830## s = requests.Session()831##832## s = pickle.loads(pickle.dumps(s))833## s.proxies = getproxies()834##835## r = s.send(r.prepare())836## assert r.status_code == 200828 def test_session_pickling(self):829 r = requests.Request('GET', httpbin('get'))830 s = requests.Session()831832 s = pickle.loads(pickle.dumps(s))833 s.proxies = getproxies()834835 r = s.send(r.prepare())836 assert r.status_code == 200837838 def test_fixes_1329(self):839 """840 Ensure that header updates are done case-insensitively.841 """
717 unmodified lines