mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #20989 -- Removed useless explicit list comprehensions.
This commit is contained in:
@@ -507,7 +507,7 @@ class TemplateTests(TransRealMixin, TestCase):
|
||||
template_tests.update(filter_tests)
|
||||
|
||||
cache_loader = setup_test_template_loader(
|
||||
dict([(name, t[0]) for name, t in six.iteritems(template_tests)]),
|
||||
dict((name, t[0]) for name, t in six.iteritems(template_tests)),
|
||||
use_cached_loader=True,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user