From f913d44eb75f930c37dc6bcc5d6579be5740ae73 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 6 Dec 2018 13:16:03 -0800 Subject: Clarify expectedFailure in the unittest docs. (GH-10953) (cherry picked from commit 91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f) Co-authored-by: Gregory P. Smith --- Doc/library/unittest.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index fb5bd2b..774b087 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -585,8 +585,8 @@ The following decorators implement test skipping and expected failures: .. decorator:: expectedFailure - Mark the test as an expected failure. If the test fails when run, the test - is not counted as a failure. + Mark the test as an expected failure. If the test fails it will be + considered a success. If the test passes, it will be considered a failure. .. exception:: SkipTest(reason) -- cgit v0.12