Skip to content

Commit

Permalink
Fix test in Python 3.2 -- the exception message changed.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
birkenfeld committed Feb 21, 2010
1 parent d72105f commit 17f5447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jinja2/testsuite/debug.py
Expand Up @@ -30,7 +30,7 @@ def test():
\{\{ fail\(\) \}\}
File ".*?debug.pyc?", line \d+, in <lambda>
tmpl\.render\(fail=lambda: 1 / 0\)
ZeroDivisionError: int(eger)? division or modulo by zero
ZeroDivisionError: (int(eger)? )?division (or modulo )?by zero
''')

def test_syntax_error(self):
Expand Down

0 comments on commit 17f5447

Please sign in to comment.