Update pytest.exit docstring

This commit is contained in:
Jose Carlos Menezes 2018-10-14 18:01:47 -03:00
parent 766d2daa06
commit d4dfd526c1
1 changed files with 5 additions and 1 deletions

View File

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