@setup(
        {'exception03': "{% extends 'inheritance01' %}"
                        "{% block first %}2{% endblock %}{% extends 'inheritance16' %}"},
        inheritance_templates,
    )
    def test_exception03(self):
        with self.assertRaises(TemplateSyntaxError):
            self.engine.get_template('exception03')
Raise exception for extra {% extends %} tags
dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_exceptions.py/ExceptionsTests.test_exception03