def exit(msg, returncode=None):
__tracebackhide__ = True<EOL>raise Exit(msg, returncode)<EOL>
Exit testing process.

:param str msg: message to display upon exit.
:param int returncode: return code to be used when exiting pytest.