commit | a7e08fe3f88d116622fb0508e88f5af9f1ac2d84 | [log] [tgz] |
---|---|---|
author | Michael Foord <fuzzyman@voidspace.org.uk> | Sat Mar 27 19:10:11 2010 +0000 |
committer | Michael Foord <fuzzyman@voidspace.org.uk> | Sat Mar 27 19:10:11 2010 +0000 |
tree | 8779446626b6b1fdd8467bd09c42124d2fa7820e | |
parent | b35ecf47755b23be95657df7d80fe5fcfe261671 [diff] |
Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.