mirror of
https://github.com/django/django.git
synced 2025-03-11 01:42:35 +00:00
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
|
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), '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user