unitests don't run under pdb

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Mar 15 10:14:05 CET 2008

En Fri, 14 Mar 2008 17:23:14 -0200, Amit Gupta <emailamit at gmail.com>  

> So What do I do, if my testcase if failing because of an uncaught
> exception and I want to run it in pdb.

Oh, sorry, my last message doesn't apply because the unittest framework  
caughts the exception.
Looks like you have to override TestResult.addError and call pdb.pm()  

Gabriel Genellina

More information about the Python-list mailing list