From 8b3b10b14b01598b9b778c5459b67c4694ac13d3 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sat, 15 Jun 2019 17:41:13 +0200 Subject: [PATCH] pre-commit --- changelog/5125.removal.rst | 2 +- src/_pytest/main.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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