python doctest: stop example execution and use the resulting context in some shell
i think there was some开发者_StackOverflow directive i could enter in the test that would allow me to run some commands interactively at the point of the directive and then continue the example, but i dont remember what it was...
Do you mean you place a breakpoint in your test to enter the debugger?
import pdb; pdb.set_trace()
精彩评论