[py3] Ensured the template tests run.

This commit is contained in:
Aymeric Augustin 2012-08-14 12:03:45 +02:00
parent faf570df18
commit dcf72835e3
1 changed files with 2 additions and 3 deletions

View File

@ -408,8 +408,7 @@ class Templates(unittest.TestCase):
)
failures = []
tests = template_tests.items()
tests.sort()
tests = sorted(template_tests.items())
# Turn TEMPLATE_DEBUG off, because tests assume that.
old_td, settings.TEMPLATE_DEBUG = settings.TEMPLATE_DEBUG, False