Re: Zope tests: 5 OK, 1 Failed

Tim Peters <[email protected]>
Newsgroups gmane.comp.web.zope.coders
Message-ID <[email protected]>
> Subject: FAILED (errors=1) : Zope-2_7-branch Python-2.4 : Linux
> From: Zope Unit Tests
> Date: Tue Feb 15 23:08:32 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-February/001596.html

That was an error in

test_bound_used_context_method_w_roles
(AccessControl.tests.testBindings.TestBindings)
...
Unauthorized: Not authorized to access binding: context

Unfortunately, Tres Seaver, Jim Fulton and I traced this to a bug in
Python 2.4 (the __name__ attribute of function objects became
unreadable in restricted execution mode under 2.4; this appears to be
an accidental consquence of making func.__name__ *writable* in 2.4).

I'll fix it for Python 2.4.1, but that test will continue to fail under 2.4.

If you want to follow the Python progress, here's Tres's Python bug report:

    http://www.python.org/sf/1124295
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.