[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')