Kaydet (Commit) 24a190d5 authored tarafından Tim Graham's avatar Tim Graham

Fixed previous commit (e3d782fe) on Python 3.

üst e3d782fe
......@@ -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)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment