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 r.david.murray
Recipients jairotrad, r.david.murray
Date 2015-08-17.01:12:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439773956.86.0.123185162342.issue24746@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately I was reminded a few days ago that there is a commit hook that prevents patches containing trailing whitespace from being committed to the repository.  So using doctest to test this isn't going to work.

The alternatives are to write a unit test, or to figure out how to write the doctest such there is no trailing whitespace...which would mean capturing the output of doctest.DoctTestRunner instead of letting it go the console, and then comparing it to an explicitly embedded string.
History
Date User Action Args
2015-08-17 01:12:36r.david.murraysetrecipients: + r.david.murray, jairotrad
2015-08-17 01:12:36r.david.murraysetmessageid: <1439773956.86.0.123185162342.issue24746@psf.upfronthosting.co.za>
2015-08-17 01:12:36r.david.murraylinkissue24746 messages
2015-08-17 01:12:36r.david.murraycreate