Update src/_pytest/outcomes.py

This commit is contained in:
Bruno Oliveira 2023-12-14 08:09:42 -03:00 committed by GitHub
parent bb3b54c2c1
commit d5ee9d340e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -112,8 +112,7 @@ def exit(
only because `msg` is deprecated. only because `msg` is deprecated.
:param returncode: :param returncode:
Return code to be used when exiting pytest. Return code to be used when exiting pytest. None means the same as ``0`` (no error), same as :func:`sys.exit`.
:default returncode: None
:param msg: :param msg:
Same as ``reason``, but deprecated. Will be removed in a future version, use ``reason`` instead. Same as ``reason``, but deprecated. Will be removed in a future version, use ``reason`` instead.