On 04/14/2011 02:56 AM, bearophile wrote:
Andrei:
> I disagree. I find examples that use assert() much clearer than examples
> that print something to the console and then explain in a comment what
> you ought to be seeing.
I don't understand why you say that. Isn't learning and understanding based on
feedback?
Precisely ;-)
That's why sane unittest blocks may/should output! One needs proper data to
study / diagnose / debig what code *actually* does.
Denis
--
_________________
vita es estrany
spir.wikidot.com