| commit | ee2c18ef16ceb0f100c5c8211002cc9c309f2944 | [log] [tgz] |
|---|---|---|
| author | Armin Ronacher <armin.ronacher@active-4.com> | Fri Apr 20 22:39:04 2007 +0200 |
| committer | Armin Ronacher <armin.ronacher@active-4.com> | Fri Apr 20 22:39:04 2007 +0200 |
| tree | f3e2152ff962f9bc4ed99de76113c76046d4a646 | |
| parent | 6d0b195b735e3c5b3eb4c49f11a38ea2f8631afc [diff] [blame] |
[svn] added c implementation of the jinja context class. --HG-- branch : trunk
diff --git a/tests/test_macros.py b/tests/test_macros.py index c28499b..35cb291 100644 --- a/tests/test_macros.py +++ b/tests/test_macros.py
@@ -35,10 +35,11 @@ def test_kwargs_failure(env): + from jinja.exceptions import TemplateRuntimeError tmpl = env.from_string(KWARGSFAILURE) try: tmpl.render() - except TypeError, e: + except TemplateRuntimeError, e: pass else: raise AssertionError('kwargs failure test failed')