[Zope3-dev] Why is the testrunner running with the --profile option ?

Benji York benji at zope.com
Wed Feb 28 16:27:37 EST 2007


Michael Haubenwallner wrote:
> Why is the testrunner running with the --profile option  ?
> I did not set it. I understand that profiling should be disabled if 
> hotshot cannot be imported.
> 
> Running (from a svn checkout)
> python test.py -s zope.anypackage

Works for me.

> ImportError: No module named profile
> please install the python2.4-profiler package

zope.testing never imports profile.  It uses hotshot, but that import is 
protected by a try/except because some distributions don't include hotshot.

Perhaps we could help more if you included the full traceback of the 
above exception.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-dev mailing list