当你的几个测试之间的差异非常小,例如只有某些形参不同时,unittest 允许你使用 ... 默认实现会将一个元组 (test, formatted_err) 添加到实例的 failures 属性, ...
確定! 回上一頁