

def test_empty(self):
    tmpl = env.from_string('[{% if true %}{% else %}{% endif %}]')
    assert (tmpl.render() == '[]')

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