[SciPy-dev] Using nose

Robert Kern robert.kern@gmail....
Sun Oct 5 01:12:58 CDT 2008

On Sun, Oct 5, 2008 at 01:08, 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?

nosetests --pdb --pdb-failure

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the Scipy-dev mailing list