开发者

python doctest: stop example execution and use the resulting context in some shell

开发者 https://www.devze.com 2023-01-16 01:39 出处:网络
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

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

精彩评论

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