summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-02-08 21:52:08 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-02-08 21:52:08 (GMT)
commitcd4f6578097e508f808da42edcd3421fb516c3f6 (patch)
tree87e7aec54e9b8ff26110da12b2943b54d2099183
parentcfc43e9435e4f7428f6dfb163ab8f3846dd3af28 (diff)
downloadcpython-cd4f6578097e508f808da42edcd3421fb516c3f6.zip
cpython-cd4f6578097e508f808da42edcd3421fb516c3f6.tar.gz
cpython-cd4f6578097e508f808da42edcd3421fb516c3f6.tar.bz2
Fix exc_value -> exception in docstring
-rw-r--r--Lib/unittest/case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index 4acfa65..f3c2844 100644
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -384,7 +384,7 @@ class TestCase(object):
do_something()
The context manager keeps a reference to the exception as
- the exc_value attribute. This allows you to inspect the
+ the 'exception' attribute. This allows you to inspect the
exception after the assertion::
with self.assertRaises(SomeException) as cm: