From 17f5447d9c4e902c8f55e6159e56b9f224287dfe Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 21 Feb 2010 17:49:04 +0100 Subject: [PATCH] Fix test in Python 3.2 -- the exception message changed. --HG-- branch : trunk --- jinja2/testsuite/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jinja2/testsuite/debug.py b/jinja2/testsuite/debug.py index a0d3ca9..7552dec 100644 --- a/jinja2/testsuite/debug.py +++ b/jinja2/testsuite/debug.py @@ -30,7 +30,7 @@ class DebugTestCase(JinjaTestCase): \{\{ fail\(\) \}\} File ".*?debug.pyc?", line \d+, in 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): -- 2.26.2