Message129335
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. |
|
Date |
User |
Action |
Args |
2011-02-25 08:08:40 | georg.brandl | set | recipients:
+ georg.brandl, terry.reedy, ncoghlan, giampaolo.rodola, eli.bendersky, docs@python |
2011-02-25 08:08:40 | georg.brandl | set | messageid: <1298621320.41.0.351652990717.issue11015@psf.upfronthosting.co.za> |
2011-02-25 08:08:39 | georg.brandl | link | issue11015 messages |
2011-02-25 08:08:39 | georg.brandl | create | |
|