[MERGE] * New assertion ``assertEqualFloat`` for testing floating point 'equality'.

Robert Collins robertc at robertcollins.net
Wed Nov 21 00:27:57 GMT 2007


On Tue, 2007-11-20 at 19:22 -0500, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert Collins wrote:
> > I found this useful recently.
> 
> Doesn't assertAlmostEqual do this?

Hmm, I didn't know this existed. Possibly it isn't in python2.4?...
nope, that doesn't appear to be it.

I'll switch to using that instead. Thanks!

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071121/adfd281f/attachment.pgp 


More information about the bazaar mailing list