Skip to content
Myr

Removed the other 'encode' as well, in the test case.

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

authored by Ravi Prakash Putchala · committed by Ravi Prakash Putchala · parent 7a0cd16 · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
1062 unmodified lines
1063 assert {'life': 42} == r.json()['json']10641065 def test_json_param_post_should_not_override_data_param(self):1066 r = requests.Request(method='POST', url='http://httpbin.org/post',1067 data={'stuff'.encode('utf-8'): 'elixr'},1067 data={'stuff': 'elixr'},1068 json={'music': 'flute'})1069 prep = r.prepare()1070 assert 'stuff=elixr' == prep.body1071
613 unmodified lines