mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Fixing test; it was accomplishing the right thing, but doing it in the wrong way.
This commit is contained in:
@@ -1523,7 +1523,7 @@ def test_json_encodes_as_bytes():
|
||||
p.prepare(
|
||||
method='GET',
|
||||
url='https://www.example.com/',
|
||||
json='body'
|
||||
json=body
|
||||
)
|
||||
assert isinstance(p.body, bytes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user