

def test_float(self):
    tmpl = env.from_string('{{ "42"|float }}|{{ "ajsghasjgd"|float }}|{{ "32.32"|float }}')
    out = out.render()
    assert (out == '42.0|0.0|32.32')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/testsuite/filters.py FilterTestCase.test_float/VarMisuse@21/55 `tmpl`->`out`