Commits

Georg Brandl committed 2e49342

Fix test in Python 3.2 -- the exception message changed.

  • Participants
  • Parent commits b4ba1cb

Comments (0)

Files changed (1)

File jinja2/testsuite/debug.py

     \{\{ 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):