diff --git a/changelog/4098.feature.rst b/changelog/4098.feature.rst index d7a97ff62..1a53de759 100644 --- a/changelog/4098.feature.rst +++ b/changelog/4098.feature.rst @@ -1 +1 @@ -Add to pytest.exit a returncode argument to cleanly exit pytest. +Add returncode argument to pytest.exit() to exit pytest with a specific return code.