mirror of https://github.com/django/django.git
Fixed a python 3.2 syntax error and python 3 warning introduced by 054ce2aa02
.
This commit is contained in:
parent
483e1b807e
commit
5938e7013e
|
@ -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), '')
|
||||
|
|
Loading…
Reference in New Issue