[issue11015] Bring test.support docs up to date

Georg Brandl report at bugs.python.org
Fri Feb 25 09:08:40 CET 2011


Georg Brandl <georg at python.org> added the comment:

The divmod() part of the patch is wrong: assertAlmostEqual does not support tuple arguments.

The test succeeds because it first does an exact equality check, which apparently is true on your platform.  But if it wasn't, you'd get TypeErrors.

Also, fcmp() has a different definition of what "almost equal" means, but I assume this has been regarded in the discussion.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11015>
_______________________________________


More information about the Python-bugs-list mailing list