Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我认为我可以在测试中输入一些指令,允许我在指令点以交互方式运行一些命令,然后继续示例,但我不记得它是什么......
你的意思是你在你的测试中放置一个断点来进入调试器?
import pdb; pdb.set_trace()