summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2014-01-20 09:11:18 (GMT)
committerGregory P. Smith <greg@krypto.org>2014-01-20 09:11:18 (GMT)
commit5a6d4bf671699152fb417e8f8ba899aa5e1d8d42 (patch)
tree584a650328b944fb631b8ad75129f42da1686b94 /Doc/library
parentb599c61179dcc675def318e093dae87a80e01c74 (diff)
downloadcpython-5a6d4bf671699152fb417e8f8ba899aa5e1d8d42.zip
cpython-5a6d4bf671699152fb417e8f8ba899aa5e1d8d42.tar.gz
cpython-5a6d4bf671699152fb417e8f8ba899aa5e1d8d42.tar.bz2
Fixes Issue #20165: The unittest module no longer considers tests marked with
@expectedFailure successful if they pass.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/unittest.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 5cbc51b..537cc3b 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -1772,6 +1772,10 @@ Loading and running tests
Return ``True`` if all tests run so far have passed, otherwise returns
``False``.
+ .. versionchanged:: 3.4
+ Returns ``False`` if there were any :attr:`unexpectedSuccesses`
+ from tests marked with the :func:`expectedFailure` decorator.
+
.. method:: stop()