Author skip.montanaro
Recipients benjamin.peterson, giampaolo.rodola, gpolo, gregory.p.smith, gvanrossum, michael.foord, ncoghlan, pitrou, pupeno, purcell, rhettinger, skip.montanaro
Date 2009-04-02.22:49:44
SpamBayes Score 3.82067e-07
Marked as misclassified No
Message-id <>
In-reply-to <1238700249.8858.33.camel@fsol>
>> You don't, but use of assert statements seems a hell of a lot more
    >> Pythonic to me than all the assert* or fail* method names which I can
    >> never remember.

    Antoine> 1. they are optimized away in "-Oxxx" mode

As far as I can tell for Python itself we never use -O while running unit

    Antoine> 2. they don't provide good reporting in case of failure

I've never had a problem with that.  It yields a perfectly useful traceback,
and in the case of the nose package at least, it does the right thing with

In any case, your test machinery will have to catch AssertionError
exceptions anyway.
Date User Action Args
2009-04-02 22:49:47skip.montanarosetrecipients: + skip.montanaro, gvanrossum, rhettinger, gregory.p.smith, purcell, ncoghlan, pitrou, giampaolo.rodola, pupeno, benjamin.peterson, gpolo, michael.foord
2009-04-02 22:49:44skip.montanarolinkissue2578 messages
2009-04-02 22:49:44skip.montanarocreate