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

2007-03-01 Thread Chris Withers
Andrew Bennetts wrote: Chris Withers wrote: Michael Haubenwallner wrote: Here is the patch that made it break: +--- Lib/hotshot/stats.py~2001-10-15 22:18:53.0 + Lib/hotshot/stats.py2006-04-21 18:39:17.691461512 + [...] Wow, that's pretty evil. Who's the appropria

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

2007-03-01 Thread Benji York
Michael Haubenwallner wrote: Just for the record, the problem is created by the ubuntu diffs that where automatically installed with the python2.4-minimal package That is one of the more repugnant things I've seen a distribution force on their users in quite some time. I intent to complain to

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

2007-03-01 Thread Andrew Bennetts
Chris Withers wrote: > Michael Haubenwallner wrote: > >Here is the patch that made it break: > >+--- Lib/hotshot/stats.py~2001-10-15 22:18:53.0 + > > Lib/hotshot/stats.py2006-04-21 18:39:17.691461512 + [...] > > Wow, that's pretty evil. > > Who's the appropriate Ubuntu

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

2007-03-01 Thread Chris Withers
Michael Haubenwallner wrote: Here is the patch that made it break: +--- Lib/hotshot/stats.py~2001-10-15 22:18:53.0 + Lib/hotshot/stats.py2006-04-21 18:39:17.691461512 + +@@ -1,7 +1,14 @@ + """Statistics analyzer for HotShot.""" + +-import profile +-import pstats ++try

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

2007-03-01 Thread Michael Haubenwallner
Benji York wrote: Michael Haubenwallner wrote: It is like Marius Gedminas said earlier in his response: just install python2.4-profiler package and it works. I'm glad that solved your particular problem. zope.testing is supposed to work without hotshot (and therefore its dependencies like pr

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

2007-02-28 Thread Benji York
Michael Haubenwallner wrote: It is like Marius Gedminas said earlier in his response: just install python2.4-profiler package and it works. I'm glad that solved your particular problem. zope.testing is supposed to work without hotshot (and therefore its dependencies like profile), so I'd lik

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

2007-02-28 Thread Michael Haubenwallner
Benji York schrieb: 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. ImportE