unittest: Proposal to add failUnlessNear
apardon at forel.vub.ac.be
Tue Jul 20 14:18:36 CEST 2004
Op 2004-07-20, Jeff Epler schreef <jepler at unpythonic.net>:
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>> Op 2004-07-19, Jeff Epler schreef <jepler at unpythonic.net>:
>> > and especially about how to choose "tolerance" properly.
> On Tue, Jul 20, 2004 at 07:32:53AM +0000, Antoon Pardon wrote:
>> Sorry, but that would require a course in numerical
> Oh, that's too bad. I bet this will end up being misused by a lot of
> pepole, then, because few of us have had courses in numerical analysis.
Well then I suspect that assertAlmostEqual, is being missued by a lot
of people, because properly choosing the right number of places to round to,
is about the same difficulty as properly choosing a tolerance.
More information about the Python-list