yuppie wrote:
> Jens Vagelpohl wrote:
>> This checkin seems to have broken Zope 2.8-compatibility:
>> http://svn.zope.org/GenericSetup/trunk/tests/common.py?rev=68391&r1=41338&r2=68391
>> Specifically, the line "from zope.testing.cleanup import cleanUp"
>> breaks Zope 2.8, I checked all stable tags (2.8.5, 2.8.6, 2.8.7) and
>> there is no toplevel name "cleanUp" in zope.testing.cleanup.
>> DEPENDENCIES.txt still claims it works with Zope 2.8.5 and higher. One
>> or the other needs changing, either DEPENDENCIES.txt needs updating
>> or, if this breakage was inadvertently introduced, common.py needs
>> fixing.
> Sorry, my mistake. I only tested against Zope 2.9 and 2.10 before
> checking in.
> Should be fixed now: http://svn.zope.org/?rev=68474&view=rev

Simply avoiding the cleanup in Zope 2.8 isn't a proper fix. You should
instead do the  following (which works across all Zopes):

  from zope.testing.cleanup import CleanUp

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to