Georg Brandl <ge...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11015>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to