大家都搜:
断言失败错误
1、When the assertions fail, the methods throw AssertionFailedError, which TestResult catches and interprets in the result-handling fixture template method.───如果断言失败,那么这些方法将抛出AssertionFailedError, TestResult在结果处理装置模板方法中捕获这些异常并进行解释。
2、An AssertionFailedError is generated telling me that instead of a 31, the result is 0.───生成的AssertionFailedError告诉我结果不是31而是0。
3、An AssertionFailedError is generated telling me that instead of a 31, the result is 0.───的AssertionFailedError告诉我结果不是31而是0。