Ezio Melotti added the comment: > For end users of Python, they don't have to worry much about this, but > we as developers of core types really care whether self.assertLessThan(x, y) > really does x < y, or x.__lt__(y), or "not y >= x", etc.
FWIW the assert methods should guarantee that the corresponding operator is used (e.g. < for assertLess), and I think this is already the case. > After more careful reviewing this patch, I have found than some tests > shouldn't be changed, because they produce utterly large error > message in case of a failure (even if resulted message is truncated, > as in case of assertEqual, large intermediate strings are created). Some of these cases are already fixed, for others there are still open issues. If you find cases that are not tracked you should report them. ---------- nosy: +ezio.melotti _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20547> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com