From 04bb965c87218c74437cd3e1c2fa09866b07b3c0 Mon Sep 17 00:00:00 2001 From: Jesse Shapiro Date: Thu, 5 May 2016 12:23:59 -0400 Subject: [PATCH] Fixing test; it was accomplishing the right thing, but doing it in the wrong way. --- tests/test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_requests.py b/tests/test_requests.py index 427675d5..f5f233f7 100755 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -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)