projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d72105f
)
Fix test in Python 3.2 -- the exception message changed.
author
Georg Brandl
<georg@python.org>
Sun, 21 Feb 2010 16:49:04 +0000
(17:49 +0100)
committer
Georg Brandl
<georg@python.org>
Sun, 21 Feb 2010 16:49:04 +0000
(17:49 +0100)
--HG--
branch : trunk
jinja2/testsuite/debug.py
patch
|
blob
|
history
diff --git
a/jinja2/testsuite/debug.py
b/jinja2/testsuite/debug.py
index a0d3ca90476d77c4a62795d33ae3244ddfe23184..7552dec38932657f126c844fce56ccd263ff1a82 100644
(file)
--- a/
jinja2/testsuite/debug.py
+++ b/
jinja2/testsuite/debug.py
@@
-30,7
+30,7
@@
class DebugTestCase(JinjaTestCase):
\{\{ 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):