diff --git a/tests/test_testing.py b/tests/test_testing.py index f5d2cbcd6..6fce84645 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -128,7 +128,7 @@ class TestAPITestClient(TestCase): self.assertEqual(response.data['user'], 'example') self.client.logout() response = self.client.get('/view/') - self.assertEqual(response.data['user'], b'') + self.assertEqual(response.data['user'], '') def test_follow_redirect(self): """