Browse Source

Fixed a python 3.2 syntax error and python 3 warning introduced by 054ce2aa02.

Simon Charette 12 years ago
parent
commit
5938e7013e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/admin_changelist/tests.py

+ 2 - 2
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 @@ class AdminLogNodeTestCase(TestCase):
 
         # 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), '')