I sat there looking at a testing error and thought “Can’t we automatically invoke the debugger when a test fails”. This is Python, of course someone has a solution for that.

nosetests --pdb

will invoke the debugger .when one of your tests goes south.