<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_assert(self, node):
 # ('test', 'msg') """Assert statement."""

        if not self.run(node.test):
            self.raise_exception(node, exc=AssertionError, msg=node.msg)
        return True