-----BEGIN PGP SIGNED MESSAGE-----
Martin Aspeli wrote:
> Tres Seaver wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> 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.
I meant to make assertions which didn't rely on the repr / pprint output
format, not to break up the test into multiple cases.
> Can you show me the failure you get?
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -