def fail(msg="<STR_LIT>", pytrace=True):
__tracebackhide__ = True<EOL>raise Failed(msg=msg, pytrace=pytrace)<EOL>
Explicitly fail an executing test with the given message.

:param str msg: the message to show the user as reason for the failure.
:param bool pytrace: if false the msg represents the full failure information and no
    python traceback will be reported.