From: Ronny Pfannschmidt Date: Tue, 17 Aug 2010 09:43:06 +0000 (+0200) Subject: fix the abs filter test X-Git-Tag: 2.5.1~1^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b299acb6ce3fb81607d12cc501b83c4124460996;p=jinja2.git fix the abs filter test --HG-- branch : trunk --- diff --git a/jinja2/testsuite/filters.py b/jinja2/testsuite/filters.py index a8ed21b..b59c9e3 100644 --- a/jinja2/testsuite/filters.py +++ b/jinja2/testsuite/filters.py @@ -206,7 +206,7 @@ class FilterTestCase(JinjaTestCase): def test_abs(self): tmpl = env.from_string('''{{ -1|abs }}|{{ 1|abs }}''') - return tmpl.render() == '1|1' + assert tmpl.render() == '1|1', tmpl.render() def test_round_positive(self): tmpl = env.from_string('{{ 2.7|round }}|{{ 2.1|round }}|'