From 065fa17124d041092381a14566e5ae5ff1fdc5c6 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sat, 15 Jun 2019 17:03:40 +0200 Subject: [PATCH] update cangelog to fit review suggestion --- changelog/5125.removal.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/changelog/5125.removal.rst b/changelog/5125.removal.rst index 73616caeb..0102d6305 100644 --- a/changelog/5125.removal.rst +++ b/changelog/5125.removal.rst @@ -1,2 +1,5 @@ -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. +``Session.exitcode`` values are now coded in ``pytest.ExitCode``, an ``IntEnum``. This makes the exit code available for consumer code and are more explicit other than just documentation. User defined exit codes are still valid, but should be used with caution. + +The team doesn't expect this change to break test suites or plugins in general, except in esoteric/specific scenarios. + +**pytest-xdist** users should upgrade to ``1.29.0`` or later, as ``pytest-xdist`` required a compatibility fix because of this change. \ No newline at end of file