[Python-checkins] r60529 - in python/trunk/Lib/test: output/test_cProfile test_cProfile.py test_cprofile.py

Georg Brandl g.brandl at gmx.net
Sun Feb 3 16:58:37 CET 2008


Christian Heimes schrieb:
> Brett Cannon wrote:
>> But how is the situation going to be any better using unittest?
> 
> It's not. I preferred the old style output comparison test. In general
> these tests suck but for profile and cprofile it made the job easier.

Nevertheless, we want to get rid of old-style tests completely.
I have a proposal - I rewrite the test file as a script so that you
can regenerate the output by calling it with an argument. Is that
fine with you?

Georg


-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-checkins mailing list