[Zope-dev] [zope.testing.doctest] a nasty surprise

Benji York benji at zope.com
Thu Apr 10 11:50:35 EDT 2008


Dieter Maurer wrote:
> As the community (apparently) strongly favors "doctest" over
> "unittest", I wrote my first test based on "zope.testing.doctest".
> And promptly, I was badly surprised....
> 
> In order to analyse a difficult problem, I added
> "from dm.pdb import zpdb; zpdb.set_trace()" in the doctest
> ("dm.pdb.zpdb" is my Zope aware PDB extension)

The standard PDB works fine.  I'm sure you're extended version can be 
tweaked to as well.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope-Dev mailing list