diff --git a/changelog/5125.removal.rst b/changelog/5125.removal.rst index 0102d6305..8f67c7399 100644 --- a/changelog/5125.removal.rst +++ b/changelog/5125.removal.rst @@ -2,4 +2,4 @@ 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 +**pytest-xdist** users should upgrade to ``1.29.0`` or later, as ``pytest-xdist`` required a compatibility fix because of this change. diff --git a/src/_pytest/main.py b/src/_pytest/main.py index 3d0d95e8d..1a92239e2 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -25,6 +25,7 @@ class ExitCode(enum.IntEnum): encodes the valid exit codes of pytest currently users may still supply other exit codes as well """ + #: tests passed OK = 0 #: tests failed