summaryrefslogtreecommitdiff
path: root/tests/template_tests
diff options
context:
space:
mode:
authorJaap Roes <jaap@eight.nl>2014-08-11 09:51:52 +0200
committerTim Graham <timograham@gmail.com>2014-08-11 07:04:33 -0400
commite92b057e06b41eb05930637119e83ed3acd3d324 (patch)
tree9966e66c8b7c8148cfa0cb3937a45c7be61c4854 /tests/template_tests
parent2e7be92b4df29ac851d570e57da5dcf756c5ac52 (diff)
Fixed #23261 -- Deprecated old style list support for unordered_list filter.
Diffstat (limited to 'tests/template_tests')
-rw-r--r--tests/template_tests/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py
index d5ee85fce2..c24040ebfe 100644
--- a/tests/template_tests/tests.py
+++ b/tests/template_tests/tests.py
@@ -590,6 +590,8 @@ class TemplateTests(TestCase):
# Ignore deprecations of using the wrong number of variables with the 'for' tag.
# and warnings for {% url %} reversing by dotted path
warnings.filterwarnings("ignore", category=RemovedInDjango20Warning, module="django.template.defaulttags")
+ # Ignore deprecations of old style unordered_list.
+ warnings.filterwarnings("ignore", category=RemovedInDjango20Warning, module="django.template.defaultfilters")
output = self.render(test_template, vals)
except ShouldNotExecuteException:
failures.append("Template test (Cached='%s', TEMPLATE_STRING_IF_INVALID='%s', TEMPLATE_DEBUG=%s): %s -- FAILED. Template rendering invoked method that shouldn't have been invoked." % (is_cached, invalid_str, template_debug, name))