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

Lennart Regebro lregebro at jarn.com
Wed Dec 9 19:03:38 CET 2009


On Wed, Dec 9, 2009 at 18:52, R. David Murray <rdmurray at bitdance.com> wrote:
> In what way is the doctest ellipsis support not sufficient for this
> case?

For 2.7 it's probably going to work, as the changes there (from what I
can see amongst the massive failures I get in zope.testing) is that
there is a couple of lines extra. In 3.x though the format changes
from

    AnException:

to

   themodule.AnException:

and it seems ellipsis can't handle that case. At least it doesn't work for me.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the Python-Dev mailing list