diff options
| author | Simon Charette <charette.s@gmail.com> | 2013-03-19 22:16:48 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2013-03-19 22:16:48 -0400 |
| commit | 5938e7013ebba3c0fd1257fe4b00f341e1095e0e (patch) | |
| tree | 6f2d62ba96bde6095808db106c988d6fdc03adca | |
| parent | 483e1b807e7a3c9e49fe5fcbf9b1300ef98a381c (diff) | |
Fixed a python 3.2 syntax error and python 3 warning introduced by 054ce2aa02.
| -rw-r--r-- | tests/admin_changelist/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_changelist/tests.py b/tests/admin_changelist/tests.py index ce5056e8f0..fd433967d3 100644 --- a/tests/admin_changelist/tests.py +++ b/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), '') |
