Update pytest.exit docstring
This commit is contained in:
parent
76fb9970c8
commit
40091ec2c7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue