diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index ac773f8177..04c8135fee 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -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) )