update cangelog to fit review suggestion

This commit is contained in:
Ronny Pfannschmidt 2019-06-15 17:03:40 +02:00
parent 2bd619ecb0
commit 065fa17124
1 changed files with 5 additions and 2 deletions

View File

@ -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.