diff options
Diffstat (limited to 'dev-python/jinja/files/jinja2-2.3.1-python-3.2.patch')
-rw-r--r-- | dev-python/jinja/files/jinja2-2.3.1-python-3.2.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/jinja/files/jinja2-2.3.1-python-3.2.patch b/dev-python/jinja/files/jinja2-2.3.1-python-3.2.patch new file mode 100644 index 000000000000..ae5cee1ccea4 --- /dev/null +++ b/dev-python/jinja/files/jinja2-2.3.1-python-3.2.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/show_bug.cgi?id=306215 +http://dev.pocoo.org/hg/jinja2-main/rev/2e4934235d58 + +--- jinja2/testsuite/debug.py ++++ jinja2/testsuite/debug.py +@@ -30,7 +30,7 @@ + \{\{ 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): |