Loading tests/admin_views/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) ) Loading Loading
tests/admin_views/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) ) Loading