mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
This commit is contained in:
parent
edee5a8de6
commit
2c69824e5a
63 changed files with 145 additions and 150 deletions
|
|
@ -326,5 +326,5 @@ class IncludeTests(SimpleTestCase):
|
|||
'next': '{% load custom %}{% counter %}'
|
||||
}),
|
||||
], libraries={'custom': 'template_tests.templatetags.custom'})
|
||||
output = engine.render_to_string('template', dict(vars=range(9)))
|
||||
output = engine.render_to_string('template', {'vars': range(9)})
|
||||
self.assertEqual(output, '012345678')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue