Update pytest.exit docstring

This commit is contained in:
Jose Carlos Menezes 2018-10-14 18:44:53 -03:00
parent 76fb9970c8
commit 40091ec2c7
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ def exit(msg, returncode=None):
"""
Exit testing process as if KeyboardInterrupt was triggered.
:param int returncode: return code to be used when exiting pytest..
:param str msg: message to display upon exit.
:param int returncode: return code to be used when exiting pytest.
"""
__tracebackhide__ = True
raise Exit(returncode, msg)