diff options
author | Stephanie Marcu <stephanie.marcu@logilab.fr> | 2008-11-18 14:17:29 +0100 |
---|---|---|
committer | Stephanie Marcu <stephanie.marcu@logilab.fr> | 2008-11-18 14:17:29 +0100 |
commit | e636450f9123d7c328f79cc1a12be22c6ba67725 (patch) | |
tree | 984b01762f95b413e516a1cb35377879c1a551ee | |
parent | 8eefcf50468679bc654a6aadc765c5f6dbf0a4c9 (diff) | |
download | logilab-common-e636450f9123d7c328f79cc1a12be22c6ba67725.tar.gz |
rename assertFloatEquals in assertFloatAlmostEquals
-rw-r--r-- | testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1594,7 +1594,7 @@ succeeded test into", osp.join(os.getcwd(),FILE_RESTART) msg = "unexpected reference to None" self.assert_( obj is not None, msg ) - def assertFloatEquals(self, obj, other, prec=1e-5, msg=None): + def assertFloatAlmostEquals(self, obj, other, prec=1e-5, msg=None): """compares two floats""" if msg is None: msg = "%r != %r" % (obj, other) |