diff --git a/changelog/5125.removal.rst b/changelog/5125.removal.rst new file mode 100644 index 000000000..73616caeb --- /dev/null +++ b/changelog/5125.removal.rst @@ -0,0 +1,2 @@ +Introduce the ``pytest.ExitCode`` Enum and make session.exitcode an instance of it. +User defined exit codes are still valid, but consumers need to take the enum into account.