From b97cd53a48598a559e425c05cddcdf6d4d59a2e8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 23 Jun 2019 08:03:42 -0700 Subject: [PATCH] Fix for Python 3.5 - refs #272 --- tests/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures.py b/tests/fixtures.py index d625fbe5..875382d0 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -22,7 +22,7 @@ class TestResponse: @property def json(self): - return json.loads(self.body) + return json.loads(self.text) @property def text(self):