

def test_simple_call(self):
    tmpl = self.env.from_string('{% macro test() %}[[{{ caller() }}]]{% endmacro %}{% call test() %}data{% endcall %}')
    assert (tmpl.render() == '[[data]]')

dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/jinja2/testsuite/core_tags.py MacrosTestCase.test_simple_call/original