Permalink
Browse files

fix the abs filter test

--HG--
branch : trunk
  • Loading branch information...
1 parent 0d94e08 commit b299acb6ce3fb81607d12cc501b83c4124460996 @RonnyPfannschmidt RonnyPfannschmidt committed Aug 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 jinja2/testsuite/filters.py
@@ -206,7 +206,7 @@ def test_sum(self):
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 }}|'

0 comments on commit b299acb

Please sign in to comment.