mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -42,13 +42,17 @@ class ExceptionsTests(SimpleTestCase):
|
||||
|
||||
@setup(
|
||||
{
|
||||
"exception04": "{% extends 'inheritance17' %}{% block first %}{% echo 400 %}5678{% endblock %}"
|
||||
"exception04": (
|
||||
"{% extends 'inheritance17' %}{% block first %}{% echo 400 %}5678"
|
||||
"{% endblock %}"
|
||||
)
|
||||
},
|
||||
inheritance_templates,
|
||||
)
|
||||
def test_exception04(self):
|
||||
"""
|
||||
Raise exception for custom tags used in child with {% load %} tag in parent, not in child
|
||||
Raise exception for custom tags used in child with {% load %} tag in
|
||||
parent, not in child
|
||||
"""
|
||||
with self.assertRaises(TemplateSyntaxError):
|
||||
self.engine.get_template("exception04")
|
||||
|
||||
Reference in New Issue
Block a user