

def test_else(self):
    tmpl = env.from_string('{% for item in seq %}XXX{% else %}...{% endfor %}')
    assert (tmpl.render() == '...')

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