Test suite breakage on Python 2.4

Issue #131 resolved
guest
created an issue

Since revision 520, the Mako test suite started failing on Python 2.4: http://ci.csh.rit.edu/job/Mako-py2.4/9/console

ERROR: test_custom_tback (test.test_exceptions.ExceptionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/hudson/.hudson/jobs/Mako-py2.4/workspace/trunk/test/test_exceptions.py", line 140, in test_custom_tback html_error = exceptions.html_error_template().render_unicode(error=t, traceback=tback) File "/home/hudson/.hudson/jobs/Mako-py2.4/workspace/trunk/mako/template.py", line 198, in render_unicode as_unicode=True) File "/home/hudson/.hudson/jobs/Mako-py2.4/workspace/trunk/mako/runtime.py", line 402, in _render _render_context(template, callable_, context, *args, data) File "/home/hudson/.hudson/jobs/Mako-py2.4/workspace/trunk/mako/runtime.py", line 419, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/home/hudson/.hudson/jobs/Mako-py2.4/workspace/trunk/mako/runtime.py", line 442, in _exec_template callable_(context, *args, kwargs) File "memory:-0x48825094", line 68, in render_body AttributeError: class RuntimeError has no attribute 'class'

Comments (3)

  1. Log in to comment