summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2010-08-17 11:43:06 +0200
committerRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2010-08-17 11:43:06 +0200
commitb299acb6ce3fb81607d12cc501b83c4124460996 (patch)
tree2253dbb006eff76af90507621f3bdf0efd2e4798
parent0d94e08e3d145f5be9e54a9a5fdffeeb69a58658 (diff)
downloadjinja2-b299acb6ce3fb81607d12cc501b83c4124460996.tar.gz
fix the abs filter test
--HG-- branch : trunk
-rw-r--r--jinja2/testsuite/filters.py2
1 files changed, 1 insertions, 1 deletions
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 }}|'