> Jens Vagelpohl wrote:
>> This checkin seems to have broken Zope 2.8-compatibility:
>> 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
> 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