assert.AssertionError 类
- 继承自: <errors.Error>
表示断言的失败。
assert 模块抛出的所有错误都是 AssertionError 类的实例。
- Extends: <errors.Error>
Indicates the failure of an assertion. All errors thrown by the assert module
will be instances of the AssertionError class.
表示断言的失败。
assert 模块抛出的所有错误都是 AssertionError 类的实例。
Indicates the failure of an assertion. All errors thrown by the assert module
will be instances of the AssertionError class.