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

Victor Stinner victor.stinner at gmail.com
Sat Feb 14 14:26:01 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150214/83547a0d/attachment-0001.html>


More information about the Python-ideas mailing list