unittest: Proposal to add failUnlessNear

Jeff Epler jepler at unpythonic.net
Mon Jul 19 17:04:00 CEST 2004


On Mon, Jul 19, 2004 at 11:06:47AM +0000, Antoon Pardon wrote:
> I have been working with unittests lately and found that the
> self.failUnlessAlmostEqual, isn't as usefull as it could be.

I'd like to hear more about the uses you envision about this, and
especially about how to choose "tolerance" properly.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040719/a48fb1a4/attachment.sig>


More information about the Python-list mailing list