Loading tests/regressiontests/templates/tests.py +2 −3 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
tests/regressiontests/templates/tests.py +2 −3 Original line number Diff line number Diff line Loading @@ -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 Loading