Rename "exc_value" attribute on assertRaises context manager to "exception".
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 0115ffa..b1d27d2 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -898,13 +898,13 @@
do_something()
The context manager will store the caught exception object in its
- :attr:`exc_value` attribute. This can be useful if the intention
+ :attr:`exception` attribute. This can be useful if the intention
is to perform additional checks on the exception raised::
with self.assertRaises(SomeException) as cm:
do_something()
- the_exception = cm.exc_value
+ the_exception = cm.exception
self.assertEqual(the_exception.error_code, 3)
.. versionchanged:: 2.7