[SciPy-dev] Using nose

Nathan Bell wnbell@gmail....
Sun Oct 5 01:13:29 CDT 2008

On Sun, Oct 5, 2008 at 2:08 AM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
> While we're on the subject of testing, what's the best way to run a
> (or some) tests and get dropped into the debugger when something goes
> wrong? With my own code and unittest I there was a magic invocation (I
> think it was MyTestClass().debug()) that I could run from inside
> ipython with %pdb, so that when an exception was triggered I wound up
> in the debugger. What's the best way to arrange this when I'm dealing
> with debugging a module inside scipy?

Is this what you're looking for?

 $nosetests --pdb --pdb-failures scipy.something

Nathan Bell wnbell@gmail.com

More information about the Scipy-dev mailing list