

def test_abs(self):
    tmpl = env.from_string('{{ -1|abs }}|{{ 1|abs }}')
    assert (tmpl.render() == '1|1'), tmpl.render()

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/testsuite/filters.py FilterTestCase.test_abs/original