[SciPy-dev] Using nose

Robert Kern robert.kern at gmail.com
Sun Oct 5 02:12:58 EDT 2008


On Sun, Oct 5, 2008 at 01:08, Anne Archibald <peridot.faceted at 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