mirror of
https://github.com/python/cpython.git
synced 2026-05-31 08:39:49 -04:00
Fix exc_value -> exception in docstring
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user