[docs] [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>

More information about the docs mailing list