On Wed, Dec 30, 2009 at 17:29, Marius Gedminas <mar...@gedmin.as> wrote: > The only thing needed from doctest.py, AFAIU, is a custom exception > class inheriting from AssertionError, so the test runner (which does the > colorization) can distinguish doctest errors from regular assertion > failures.
Oh, so *that* is why it was there. I wondered. -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )