Fixed previous commit (e3d782fe80
) on Python 3.
This commit is contained in:
parent
e3d782fe80
commit
24a190d53c
|
@ -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…
Reference in New Issue