synt.stmt.assertion
¤
Assert
¤
Bases: Statement
The assert
statement.
Examples:
References
Source code in synt/stmt/assertion.py
__init__
¤
|
Initialize the assertion.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
test |
IntoExpression
|
The expression to assert. |
required |
msg |
IntoExpression | None
|
The assert message. |
None
|