Skip to content

Commit

Permalink
Decode response content before passing to json.loads
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Feb 9, 2016
1 parent 4e477cc commit a637b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinax/api/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def test_something(self):
},
"data": [],
},
json.loads(r.content),
json.loads(r.content.decode("utf-8")),
)

0 comments on commit a637b90

Please sign in to comment.