Serhiy Storchaka added the comment: This will save time and memory of unittest users for reading the documentation, remembering it and trying to understand in which cases assertNotAlmostEqual() can be used. This will prevent them from using unsuitable method.
I found only one case of using assertNotAlmostEqual() in the wild, and it doesn't look a proper use. Do you have any cases in which it is useful? Recently I did have a discussion with Giampaolo about changes to assertAlmostEqual() and assertNotAlmostEqual() [1]. If assertNotAlmostEqual() didn't exist this discussion would even not started. So this would save my and Giampaolo's time. [1] https://github.com/python/cpython/pull/1331 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30221> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com