mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23395 -- Limited line lengths to 119 characters.
This commit is contained in:
committed by
Tim Graham
parent
84b0a8d2aa
commit
b1e33ceced
@@ -251,7 +251,9 @@ class InheritanceTests(SimpleTestCase):
|
||||
"""
|
||||
Inheritance from local context without use of template loader
|
||||
"""
|
||||
context_template = self.engine.from_string("1{% block first %}_{% endblock %}3{% block second %}_{% endblock %}")
|
||||
context_template = self.engine.from_string(
|
||||
"1{% block first %}_{% endblock %}3{% block second %}_{% endblock %}"
|
||||
)
|
||||
output = self.engine.render_to_string('inheritance24', {'context_template': context_template})
|
||||
self.assertEqual(output, '1234')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user