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

This commit is contained in:
Simon Charette 2013-03-19 22:16:48 -04:00
parent 483e1b807e
commit 5938e7013e
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
from __future__ import absolute_import from __future__ import absolute_import, unicode_literals
import datetime import datetime
@ -581,4 +581,4 @@ class AdminLogNodeTestCase(TestCase):
# Rendering should be u'' since this templatetag just logs, # Rendering should be u'' since this templatetag just logs,
# it doesn't render any string. # it doesn't render any string.
self.assertEquals(template.render(context), u'') self.assertEqual(template.render(context), '')