Tres Seaver wrote:
> Hash: SHA1
> Martin Aspeli wrote:
>> Log message for revision 99146:
>>   Let the <permission /> directive auto-register permissions that don't 
>> exist already
> This kind of test is a "poster child" for why doctests with lots of
> output are fragile:  even though it uses pprint, it *still* fails on
> different Python versions (i.e., it is breaking on Python 2.4).

Sigh... sorry.

I didn't even realise Zope 2.12 was meant to run with Python 2.4. I 
thought it was 2.5/2.6 only. Guess I was wrong.

> This test needs to be rewritten either as a traditional unittest (my
> preference), or the assertions about the state need to be rewritten in
> "fine grained" form.

I just copied the tests that were already there, so I'd prefer to keep 
them in the same place.

Can you show me the failure you get?


Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See

Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to