'The "safe" and "escape" filters cannot work due to internal
implementation details (fortunately, the (no)autoescape block
tags can be used in those cases)'

@setup({'autoescape-filtertag01': '{{    first    }}{%    filter    safe    %}{{    first    }}    x<y{%    endfilter    %}'})
def test_autoescape_filtertag01(self):

    with self.assertRaises(TemplateSyntaxError):
        self.engine.render_to_string('autoescape-filtertag01', {'first': '<a>'})
