From b299acb6ce3fb81607d12cc501b83c4124460996 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 17 Aug 2010 11:43:06 +0200 Subject: [PATCH] fix the abs filter test --HG-- branch : trunk --- jinja2/testsuite/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}|' -- 2.26.2