python - 断言pytest中没有无限循环. pythoninfinite-looppytest ... 我想在 pytest 中编写一个单元测试以确保这种行为。我知道如何断言测试应该引发异常。
確定! 回上一頁