前言在python unittest测试框架中,提供了一系列的方法用于验证程序的异常。 ... assertRaises( exception, # 待验证异常类型 callable, # 待验证方法 ...
確定! 回上一頁