Commit cd4f6578 authored by Ezio Melotti's avatar Ezio Melotti

Fix exc_value -> exception in docstring

parent cfc43e94
...@@ -384,7 +384,7 @@ class TestCase(object): ...@@ -384,7 +384,7 @@ class TestCase(object):
do_something() do_something()
The context manager keeps a reference to the exception as 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:: exception after the assertion::
with self.assertRaises(SomeException) as cm: with self.assertRaises(SomeException) as cm:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment