def fail(msg="", pytrace=True):
    __tracebackhide__ = True
    raise Failed(msg=msg, pytrace=pytrace)
explicitly fail an currently-executing test with the given Message.
dataset/ETHPy150Open pytest-dev/pytest/_pytest/runner.py/fail