Skip to content

Test suite breakage on Python 2.4 #131

@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by Anonymous

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__'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions