summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-11-17 10:42:22 -0500
committerTim Graham <timograham@gmail.com>2015-11-17 10:42:22 -0500
commit20d2778597e89fc2de084bdaa128a438fbf12c7b (patch)
tree6b0bf47a1ed273fcbf310ab865407c4a119d4e04 /tests/template_tests/syntax_tests
parent5abed864ee1cd31a0b920768b4abe85b26b43a4d (diff)
Removed obsolete comments about Django 1.10 in two test files.
Diffstat (limited to 'tests/template_tests/syntax_tests')
-rw-r--r--tests/template_tests/syntax_tests/test_for.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/template_tests/syntax_tests/test_for.py b/tests/template_tests/syntax_tests/test_for.py
index ff92c09369..03c2e6ee9b 100644
--- a/tests/template_tests/syntax_tests/test_for.py
+++ b/tests/template_tests/syntax_tests/test_for.py
@@ -126,9 +126,6 @@ class ForTagTests(SimpleTestCase):
output = self.engine.render_to_string('for-tag-filter-ws', {'s': 'abc'})
self.assertEqual(output, 'abc')
- # These tests raise deprecation warnings and will raise an exception
- # in Django 1.10. The existing behavior is silent truncation if the
- # length of loopvars differs to the length of each set of items.
@setup({'for-tag-unpack10': '{% for x,y in items %}{{ x }}:{{ y }}/{% endfor %}'})
def test_for_tag_unpack10(self):
with self.assertRaisesMessage(ValueError, 'Need 2 values to unpack in for loop; got 3.'):