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 r.david.murray
Date 2015-08-24.16:20:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached is a patch that enhances doctest discovery so that it can correctly report the line number for doctest errors in tests that are string values of the __test__ dictionary.  It only works if the strings are formatted as triple quoted strings, but since that is the most common case I think it is worth doing.

I don't have a test for this...I think it will require a unit test rather than adding to the doctests, since it needs to check the reported line number and other changes to would change the line numbers.
Date User Action Args
2015-08-24 16:20:04r.david.murraysetrecipients: + r.david.murray
2015-08-24 16:20:04r.david.murraysetmessageid: <>
2015-08-24 16:20:04r.david.murraylinkissue24925 messages
2015-08-24 16:20:04r.david.murraycreate