Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a python 3.2 syntax error and python 3 warning introduced by 05…

  • Loading branch information...
commit 5938e7013ebba3c0fd1257fe4b00f341e1095e0e 1 parent 483e1b8
@charettes charettes authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/admin_changelist/tests.py
View
4 tests/admin_changelist/tests.py
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import absolute_import, unicode_literals
import datetime
@@ -581,4 +581,4 @@ def test_get_admin_log_templatetag_custom_user(self):
# Rendering should be u'' since this templatetag just logs,
# it doesn't render any string.
- self.assertEquals(template.render(context), u'')
+ self.assertEqual(template.render(context), '')

0 comments on commit 5938e70

Please sign in to comment.
Something went wrong with that request. Please try again.