Commit 24a190d5 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed previous commit (e3d782fe) on Python 3.

parent e3d782fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ class AdminViewBasicTestCase(TestCase):
        self.assertLess(
            response.content.index(force_bytes(text1)),
            response.content.index(force_bytes(text2)),
            (failing_msg or '') + '\nResponse:\n' + response.content
            (failing_msg or '') + '\nResponse:\n' + response.content.decode(response.charset)
        )