test.fail API [rev. 38799]

def fail(msg='unknown failure'):

fail with the given Message.