summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests/test_extends.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/syntax_tests/test_extends.py')
-rw-r--r--tests/template_tests/syntax_tests/test_extends.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/template_tests/syntax_tests/test_extends.py b/tests/template_tests/syntax_tests/test_extends.py
index 46600cb76c..bc320a2fc2 100644
--- a/tests/template_tests/syntax_tests/test_extends.py
+++ b/tests/template_tests/syntax_tests/test_extends.py
@@ -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')