@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')
Generates the sql for this query window and returns the sql as a string.
dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_exceptions.py/ExceptionsTests.test_exception03--crossover with--dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/query.py/QueryWindow.get_sql