]> granicus.if.org Git - python/commitdiff
Fix exc_value -> exception in docstring
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 8 Feb 2010 21:52:08 +0000 (21:52 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 8 Feb 2010 21:52:08 +0000 (21:52 +0000)
Lib/unittest/case.py

index 4acfa6539aff70494fa4fcf812237c820b6f9d13..f3c28447962b065988e4457f70d544621dc691ab 100644 (file)
@@ -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: