[Python-Dev] Unittest/doctest formatting differences in 2.7a1?

Nick Coghlan ncoghlan at gmail.com
Fri Dec 11 11:29:41 CET 2009

Benjamin Peterson wrote:
> 2009/12/10 Lennart Regebro <regebro at gmail.com>:
>> On Thu, Dec 10, 2009 at 20:25, Terry Reedy <tjreedy at udel.edu> wrote:
>>> Since the intent of IGNORE_EXCEPTION_DETAIL is to make doctests immune to
>>> implementation version specific changes, it seems to me that extending its
>>> technical meaning is required to carry out its intent.
>> Would this be considered bugfixy enough to get into 3.1-branch as well
>> as 2.7? It really is damn annoying when you try to port doctests to
>> Python 3, and it would be great if we wouldn't have to wait for 3.2.
> I think a patch would be helpful before deciding that.

Agreed that a patch is needed before deciding, but I support the idea
that this be classed as a bug in IGNORE_EXCEPTION_DETAIL - the presence
or absence of module information in the printout of the Exception name
shouldn't make the test fail.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list