This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients docs@python, eli.bendersky, ezio.melotti, georg.brandl, giampaolo.rodola, ncoghlan, sandro.tosi, terry.reedy
Date 2011-05-06.06:28:27
SpamBayes Score 1.63566e-07
Marked as misclassified No
Message-id <>

I've incorporated your suggestions except the new formulation for verbosity to doctest.testmod, since it's not really clear which one is more accurate. I think it's intelligible as it is now (especially given that is for use of Python contributors, and not random users). If you have strong preferences about it, feel free to commit another formulation.


I answered your comments in the code review tool.
Regarding the use of assertEqual for the floating point results, I just didn't want to rely on the exact representation of these values. I'm not 100% sure Python ensures this is true on all platforms it supports. Recall that I was just replacing the fcmp code which did basically the same, also not comparing exactly.


I will commit a fixed patch to default. I see no reason to backport this since is just a tool for core-devs and contributors and is mainly used for future developments.
Date User Action Args
2011-05-06 06:28:31eli.benderskysetrecipients: + eli.bendersky, georg.brandl, terry.reedy, ncoghlan, giampaolo.rodola, ezio.melotti, sandro.tosi, docs@python
2011-05-06 06:28:31eli.benderskysetmessageid: <>
2011-05-06 06:28:27eli.benderskylinkissue11015 messages
2011-05-06 06:28:27eli.benderskycreate