开发者

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()
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜