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 andrei.avk
Recipients andrei.avk, kj
Date 2021-09-19.00:58:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632013131.74.0.0677212065076.issue45240@roundup.psfhosted.org>
In-reply-to
Content
It would be useful to have +REPORT_NDIFF option applied to pdb doctests because it makes it much more convenient to add / modify pdb tests, to fix pdb bugs, add pdb features.

I've worked on two pdb issues in the last few months and I wasn't aware of +REPORT_NDIFF, and so I was just looking at the output of failing tests (which are very long for some pdb tests), and comparing them manually.

This option, when enabled, automatically provides diff with in-line highlighted difference for a failed doctest. Otherwise two chunks of text are provided, 'EXPECTED' and 'GOT ...'.
History
Date User Action Args
2021-09-19 00:58:51andrei.avksetrecipients: + andrei.avk, kj
2021-09-19 00:58:51andrei.avksetmessageid: <1632013131.74.0.0677212065076.issue45240@roundup.psfhosted.org>
2021-09-19 00:58:51andrei.avklinkissue45240 messages
2021-09-19 00:58:51andrei.avkcreate