Fixing test; it was accomplishing the right thing, but doing it in the wrong way.

This commit is contained in:
Jesse Shapiro
2016-05-05 12:23:59 -04:00
parent 52c0daff5f
commit 04bb965c87
+1 -1
View File
@@ -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)