[SciPy-dev] Using nose

Anne Archibald peridot.faceted at gmail.com
Sun Oct 5 02:16:19 EDT 2008


2008/10/5 Nathan Bell <wnbell at gmail.com>:
> On Sun, Oct 5, 2008 at 2:08 AM, 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?
>>
>
> Is this what you're looking for?
>
>  $nosetests --pdb --pdb-failures scipy.something

Perfect, thank you!

Anne



More information about the SciPy-Dev mailing list