summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/unittest.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index aa763086bf..984ec272da 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -891,10 +891,6 @@ Test cases
with self.failUnlessRaises(some_error_class):
do_something()
- The context manager will store the caught exception object in its
- :attr:`exc_value` attribute. This can be useful if the intention
- is to perform additional checks on the exception raised.
-
.. versionchanged:: 3.1
Added the ability to use :meth:`assertRaises` as a context manager.