commit | cd4f6578097e508f808da42edcd3421fb516c3f6 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Mon Feb 08 21:52:08 2010 +0000 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Mon Feb 08 21:52:08 2010 +0000 |
tree | 87e7aec54e9b8ff26110da12b2943b54d2099183 | |
parent | cfc43e9435e4f7428f6dfb163ab8f3846dd3af28 [diff] [blame] |
Fix exc_value -> exception in docstring
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 @@ 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: