[Python-ideas] PEP 485: A Function for testing approximate equality

Ian Lee ianlee1521 at gmail.com
Mon Feb 16 01:49:20 CET 2015


+1 to adding a new method on unittest.TestCase.


~ Ian Lee

On Sat, Feb 14, 2015 at 5:26 AM, Victor Stinner <victor.stinner at gmail.com>
wrote:

> Hi,
>
> Do you propose a builtin function? I would prefer to put it in the math
> module.
>
> You may add a new method to unittest.TestCase? It would show all
> parameters on error. .assertTrue(isclose(...)) doesn't help on error.
>
> Victor
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150215/93050faa/attachment-0001.html>


More information about the Python-ideas mailing list