aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTom Christie2014-12-12 13:16:18 +0000
committerTom Christie2014-12-12 13:16:18 +0000
commite3b16c8bc631d5be599776c483ee0488cef9c288 (patch)
tree89c1a07d9c720266f9d867d46366048c49d09116 /tests
parent78312d44d1e1a7f43daacd1614be2008eb77a0de (diff)
downloaddjango-rest-framework-e3b16c8bc631d5be599776c483ee0488cef9c288.tar.bz2
Python 3 test fix
Diffstat (limited to 'tests')
-rw-r--r--tests/test_testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py
index f5d2cbcd..6fce8464 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):
"""