[Python-Dev] Optional delta argument for assertAlmostEqual

Mark Dickinson dickinsm at gmail.com
Sat Mar 27 14:45:17 CET 2010


On Sat, Mar 27, 2010 at 12:59 AM, Michael Foord
<fuzzyman at voidspace.org.uk> wrote:
> Hello all,
>
> A user has suggested an optional argument to
> unittest.TestCase.assertAlmostEqual for specifying a maximum difference
> between the expected and actual values, instead of using rounding.

+1.

Mark


More information about the Python-Dev mailing list