Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Georg Brandl · committed by Georg Brandl · parent d72105f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/testsuite/debug.py+1 added-1 removed
28 unmodified lines
29 File ".*?broken.html", line 2, in (top-level template code|<module>)30 \{\{ fail\(\) \}\}31 File ".*?debug.pyc?", line \d+, in <lambda>32 tmpl\.render\(fail=lambda: 1 / 0\)33ZeroDivisionError: int(eger)? division or modulo by zero33ZeroDivisionError: (int(eger)? )?division (or modulo )?by zero34''')3536 def test_syntax_error(self):37 # XXX: the .*? is necessary for python3 which does not hide
23 unmodified lines