Skip to content

Test Case Error¤

TestCaseError dataclass ¤

TestCaseError(
    message: str, traceback: Optional[Traceback] = None
)

An error which occured during the execution of a test case (either setup, call or teardown).

message instance-attribute ¤

message: str

Error message.

traceback class-attribute instance-attribute ¤

traceback: Optional[Traceback] = None

Error traceback.